mbox series

[-next,0/7] spi: replace and remove {devm_}spi_alloc_master/slave()

Message ID 20240902125947.1368-1-yangyingliang@huaweicloud.com
Headers show
Series spi: replace and remove {devm_}spi_alloc_master/slave() | expand

Message

Yang Yingliang Sept. 2, 2024, 12:59 p.m. UTC
From: Yang Yingliang <yangyingliang@huawei.com>

Switch to use {devm_}spi_alloc_host/target() in drivers and remove
{devm_}spi_alloc_master/slave() in spi driver.

Yang Yingliang (7):
  media: usb/msi2500: switch to use spi_alloc_host()
  media: netup_unidvb: switch to use devm_spi_alloc_host()
  spi: ch341: switch to use devm_spi_alloc_host()
  spi: slave-mt27xx: switch to use spi_alloc_target()
  video: fbdev: mmp: switch to use spi_alloc_host()
  staging: greybus: spi: switch to use spi_alloc_host()
  spi: remove {devm_}spi_alloc_master/slave()

 .../driver-api/driver-model/devres.rst        |  4 +--
 .../media/pci/netup_unidvb/netup_unidvb_spi.c |  6 ++--
 drivers/media/usb/msi2500/msi2500.c           |  4 +--
 drivers/spi/spi-ch341.c                       |  2 +-
 drivers/spi/spi-slave-mt27xx.c                |  4 +--
 drivers/spi/spi.c                             | 14 ++++-----
 drivers/staging/greybus/spilib.c              |  6 ++--
 drivers/video/fbdev/mmp/hw/mmp_spi.c          |  6 ++--
 include/linux/spi/spi.h                       | 30 -------------------
 9 files changed, 23 insertions(+), 53 deletions(-)

Comments

Mark Brown Sept. 13, 2024, 4:47 p.m. UTC | #1
On Mon, Sep 02, 2024 at 08:59:40PM +0800, Yang Yingliang wrote:
> From: Yang Yingliang <yangyingliang@huawei.com>
> 
> Switch to use {devm_}spi_alloc_host/target() in drivers and remove
> {devm_}spi_alloc_master/slave() in spi driver.
> 
> Yang Yingliang (7):
>   media: usb/msi2500: switch to use spi_alloc_host()
>   media: netup_unidvb: switch to use devm_spi_alloc_host()
>   spi: ch341: switch to use devm_spi_alloc_host()
>   spi: slave-mt27xx: switch to use spi_alloc_target()
>   video: fbdev: mmp: switch to use spi_alloc_host()
>   staging: greybus: spi: switch to use spi_alloc_host()
>   spi: remove {devm_}spi_alloc_master/slave()

Unless someone shouts about this I intend to apply it at -rc1.
Mark Brown Sept. 30, 2024, 11:51 p.m. UTC | #2
On Mon, 02 Sep 2024 20:59:40 +0800, Yang Yingliang wrote:
> Switch to use {devm_}spi_alloc_host/target() in drivers and remove
> {devm_}spi_alloc_master/slave() in spi driver.
> 
> Yang Yingliang (7):
>   media: usb/msi2500: switch to use spi_alloc_host()
>   media: netup_unidvb: switch to use devm_spi_alloc_host()
>   spi: ch341: switch to use devm_spi_alloc_host()
>   spi: slave-mt27xx: switch to use spi_alloc_target()
>   video: fbdev: mmp: switch to use spi_alloc_host()
>   staging: greybus: spi: switch to use spi_alloc_host()
>   spi: remove {devm_}spi_alloc_master/slave()
> 
> [...]

Applied to

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

Thanks!

[1/7] media: usb/msi2500: switch to use spi_alloc_host()
      commit: 5ba92299badc4e71670269877262c8cc3b6c806f
[2/7] media: netup_unidvb: switch to use devm_spi_alloc_host()
      commit: ac2f5bbe80e143509cf24527a7ae021f356f8977
[3/7] spi: ch341: switch to use devm_spi_alloc_host()
      commit: 0191e98ae6e22bebae4e9a487ba70f90d2f8714c
[4/7] spi: slave-mt27xx: switch to use spi_alloc_target()
      commit: 4bca15a56edd7b1c8c8573ddd3dd67424ec15e11
[5/7] video: fbdev: mmp: switch to use spi_alloc_host()
      commit: 5c303090e1d8426c721709d50f0120f66bae6919
[6/7] staging: greybus: spi: switch to use spi_alloc_host()
      (no commit info)
[7/7] spi: remove {devm_}spi_alloc_master/slave()
      commit: 0809a9ccac4a2ffdfd1561bb551aec6099775545

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