mbox series

[-next,v3,00/23] spi: switch to use modern name (part4)

Message ID 20230818093154.1183529-1-yangyingliang@huawei.com
Headers show
Series spi: switch to use modern name (part4) | expand

Message

Yang Yingliang Aug. 18, 2023, 9:31 a.m. UTC
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(-)

Comments

Heiko Stübner Aug. 19, 2023, 1:16 p.m. UTC | #1
Am Freitag, 18. August 2023, 11:31:44 CEST schrieb Yang Yingliang:
> Change legacy name master/slave to modern name host/target or controller.
> 
> No functional changed.
> 
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>

I don't have a preference on these naming things, but for what it's worth
if people want to rename things:

Acked-by: Heiko Stuebner <heiko@sntech.e>
Mark Brown Aug. 22, 2023, 4:33 p.m. UTC | #2
On Fri, 18 Aug 2023 17:31:31 +0800, Yang Yingliang wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[01/23] spi: orion: switch to use modern name
        commit: 08e6c5038fee470d9f240c12dcf69927e204a56b
[02/23] spi: mchp-pci1xxxx: switch to use modern name
        commit: f9977bb164a26d3bec31cdaf04865accf97e4353
[03/23] spi: pic32-sqi: switch to use modern name
        commit: cc64ab491b4236cbeb8aabf2cd41db4499a0745b
[04/23] spi: pic32: switch to use modern name
        commit: 0273727c3bae812e12d9bc32830af9d7b3767d3b
[05/23] spi: spl022: switch to use modern name
        commit: c97a43a54600fd977acf654802ccf3c94f5f592a
[06/23] spi: ppc4xx: switch to use modern name
        commit: 71345830575984c01c4c2b655ef3a7877100fba3
[07/23] spi: pxa2xx: switch to use modern name
        commit: 60ba4431c8e8c137f92d050b9f0bfc8e8c26a364
[08/23] spi: spi-qcom-qspi: switch to use modern name
        commit: 8d3ad99ad8f7370a0f9c8bdb741747fdd70e4e49
[09/23] spi: qup: switch to use modern name
        commit: 597442ff4f6226206b7cc28b86eb2be0ae9c6418
[10/23] spi: rb4xx: switch to use modern name
        commit: e6302d00d985d49f891d4b007afdae824d873edf
[11/23] spi: realtek-rtl: switch to use devm_spi_alloc_host()
        commit: c84036243c6bc0e1b5846e379f5d4b3e4658688e
[12/23] spi: rockchip-sfc: switch to use modern name
        commit: 7d5db7251997da069ca22c837a53ca8a84b4036e
[13/23] spi: rockchip: switch to use modern name
        commit: 1a3ccff3bc39acc04e69e3a65833d474471598ec
[14/23] spi: rspi: switch to use spi_alloc_host()
        commit: 1405efe76f2a242832a53b56deda15f17d51219b
[15/23] spi: rzv2m-csi: switch to use devm_spi_alloc_host()
        commit: 6536da62e4378caafa309ae372ca88f065f3e47c
[16/23] spi: s3c64xx: switch to use modern name
        commit: f4bc49eda254c6f49c6679149d31e93271d6ee74
[17/23] spi: sc18is602: switch to use modern name
        commit: 82a779231805c388e09921f4a28d9daebf95aeda
[18/23] spi: sh-hspi: switch to use modern name
        commit: 0c8e5afc879f5b693dd2db68a7db3ffb3dc6823b
[19/23] spi: sh-msiof: switch to use modern name
        commit: 1cb3ebc417fe6cc5bea1b37682c0e860ea9ffb2d
[20/23] spi: sh-sci: switch to use modern name
        commit: 91a940bb1075337184c3aa537c6e5b9429380400
[21/23] spi: sh: switch to use modern name
        commit: 0ec6a15091a17dc5af7a4b23a2d02e554cbe3549
[22/23] spi: sifive: switch to use modern name
        commit: 8d9ae783fb706ae98db18d050201d96a9634bd45
[23/23] spi: spi-sn-f-ospi: switch to use modern name
        commit: 557efcf4c64f27f1b69af464246bf90b4d52e5be

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark