From patchwork Fri Aug 18 09:31:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Yingliang X-Patchwork-Id: 13357561 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F217CC001DE for ; Fri, 18 Aug 2023 09:36:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344261AbjHRJfw (ORCPT ); Fri, 18 Aug 2023 05:35:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359351AbjHRJfT (ORCPT ); Fri, 18 Aug 2023 05:35:19 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD3873A84 for ; Fri, 18 Aug 2023 02:35:10 -0700 (PDT) Received: from dggpemm500017.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RRxWr5zmFzkXDk; Fri, 18 Aug 2023 17:33:44 +0800 (CST) Received: from dggpemm500007.china.huawei.com (7.185.36.183) by dggpemm500017.china.huawei.com (7.185.36.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 18 Aug 2023 17:35:08 +0800 Received: from huawei.com (10.175.103.91) by dggpemm500007.china.huawei.com (7.185.36.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 18 Aug 2023 17:35:07 +0800 From: Yang Yingliang To: CC: , , , Subject: [PATCH -next v3 00/23] spi: switch to use modern name (part4) Date: Fri, 18 Aug 2023 17:31:31 +0800 Message-ID: <20230818093154.1183529-1-yangyingliang@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500007.china.huawei.com (7.185.36.183) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org I'm trying to rename the legacy name to modern name used in SPI drivers, this is part4 patchset. After introducing devm_spi_alloc_host/spi_alloc_host(), the legacy named function devm_spi_alloc_master/spi_alloc_master() can be replaced. And also change other legacy name master/slave to modern name host/target or controller. Each patch compile test passed. v2 -> v3: In patch #19, keep using 'slave IDs'. v1 -> v2: In patch #4, #5, #12, #14, #15, #16, #18, #19, #22, keep some comments using old name to fit with documentation. Yang Yingliang (23): spi: orion: switch to use modern name spi: mchp-pci1xxxx: switch to use modern name spi: pic32-sqi: switch to use modern name spi: pic32: switch to use modern name spi: spl022: switch to use modern name spi: ppc4xx: switch to use modern name spi: pxa2xx: switch to use modern name spi: spi-qcom-qspi: switch to use modern name spi: qup: switch to use modern name spi: rb4xx: switch to use modern name spi: realtek-rtl: switch to use devm_spi_alloc_host() spi: rockchip-sfc: switch to use modern name spi: rockchip: switch to use modern name spi: rspi: switch to use spi_alloc_host() spi: rzv2m-csi: switch to use devm_spi_alloc_host() spi: s3c64xx: switch to use modern name spi: sc18is602: switch to use modern name spi: sh-hspi: switch to use modern name spi: sh-msiof: switch to use modern name spi: sh-sci: switch to use modern name spi: sh: switch to use modern name spi: sifive: switch to use modern name spi: spi-sn-f-ospi: switch to use modern name drivers/spi/spi-orion.c | 90 +++++++++--------- drivers/spi/spi-pci1xxxx.c | 14 +-- drivers/spi/spi-pic32-sqi.c | 86 ++++++++--------- drivers/spi/spi-pic32.c | 154 +++++++++++++++--------------- drivers/spi/spi-pl022.c | 94 +++++++++---------- drivers/spi/spi-ppc4xx.c | 44 ++++----- drivers/spi/spi-pxa2xx.c | 24 ++--- drivers/spi/spi-qcom-qspi.c | 80 ++++++++-------- drivers/spi/spi-qup.c | 166 ++++++++++++++++----------------- drivers/spi/spi-rb4xx.c | 36 +++---- drivers/spi/spi-realtek-rtl.c | 2 +- drivers/spi/spi-rockchip-sfc.c | 30 +++--- drivers/spi/spi-rockchip.c | 58 ++++++------ drivers/spi/spi-rspi.c | 2 +- drivers/spi/spi-rzv2m-csi.c | 2 +- drivers/spi/spi-s3c64xx.c | 126 ++++++++++++------------- drivers/spi/spi-sc18is602.c | 50 +++++----- drivers/spi/spi-sh-hspi.c | 4 +- drivers/spi/spi-sh-msiof.c | 50 +++++----- drivers/spi/spi-sh-sci.c | 24 ++--- drivers/spi/spi-sh.c | 34 +++---- drivers/spi/spi-sifive.c | 80 ++++++++-------- drivers/spi/spi-sn-f-ospi.c | 4 +- include/linux/spi/pxa2xx_spi.h | 4 +- include/linux/spi/sh_msiof.h | 4 +- 25 files changed, 631 insertions(+), 631 deletions(-)