mbox series

[0/3] PCI: Convert to platform remove callback returning void (part II)

Message ID cover.1701682617.git.u.kleine-koenig@pengutronix.de
Headers show
Series PCI: Convert to platform remove callback returning void (part II) | expand

Message

Uwe Kleine-König Dec. 4, 2023, 9:47 a.m. UTC
Hello,

back in March I sent a series[1] with the intention to convert all of
drivers/pci to .remove_new(). I missed these three drivers because my
coccinelle script didn't handle __exit_p. (The drivers don't use
__exit_p in the mean time since the follwing commits:

	200bddbb3f52 ("PCI: keystone: Don't discard .remove() callback")
	3064ef2e88c1 ("PCI: kirin: Don't discard .remove() callback")
	83a939f0fdc2 ("PCI: exynos: Don't discard .remove() callback")

.)

There are no interdependencies between these patches.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.

Best regards
Uwe

[1] https://lore.kernel.org/linux-pci/20230321193208.366561-1-u.kleine-koenig@pengutronix.de
    merged in v6.5-rc1~111^2

Uwe Kleine-König (3):
  PCI: exynos: Convert to platform remove callback returning void
  PCI: keystone: Convert to platform remove callback returning void
  PCI: kirin: Convert to platform remove callback returning void

 drivers/pci/controller/dwc/pci-exynos.c   | 6 ++----
 drivers/pci/controller/dwc/pci-keystone.c | 6 ++----
 drivers/pci/controller/dwc/pcie-kirin.c   | 6 ++----
 3 files changed, 6 insertions(+), 12 deletions(-)


base-commit: 629a3b49f3f957e975253c54846090b8d5ed2e9b

Comments

Krzysztof Wilczyński Dec. 16, 2023, 12:44 a.m. UTC | #1
Hello,

> back in March I sent a series[1] with the intention to convert all of
> drivers/pci to .remove_new(). I missed these three drivers because my
> coccinelle script didn't handle __exit_p. (The drivers don't use
> __exit_p in the mean time since the follwing commits:
> 
> 	200bddbb3f52 ("PCI: keystone: Don't discard .remove() callback")
> 	3064ef2e88c1 ("PCI: kirin: Don't discard .remove() callback")
> 	83a939f0fdc2 ("PCI: exynos: Don't discard .remove() callback")
> 
> .)
> 
> There are no interdependencies between these patches.
> 
> See commit 5c5a7680e67b ("platform: Provide a remove callback that
> returns no value") for an extended explanation and the eventual goal.

Applied to controller/remove-void-return, thank you!

[01/03] PCI: exynos: Convert to platform remove callback returning void
        https://git.kernel.org/pci/pci/c/4fbd8b788258
[02/03] PCI: keystone: Convert to platform remove callback returning void
        https://git.kernel.org/pci/pci/c/93d61d3aa996
[03/03] PCI: kirin: Convert to platform remove callback returning void
        https://git.kernel.org/pci/pci/c/a5eee68931fc

	Krzysztof