PCI: acpiphp_ampere_altra: Switch back to struct platform_driver::remove()
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 27 Sep 2024 09:24:49 +0000 (11:24 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 3 Oct 2024 21:45:55 +0000 (16:45 -0500)
commit43d6961cdf1d0621c55638ed33554027978ae1fe
tree180cd981939dbff44e00370219b5d0b7193b446c
parent3c87b3c85a5344098f239bf8fceee1db691e3a0c
PCI: acpiphp_ampere_altra: Switch back to struct platform_driver::remove()

After commit 0edb555a65d1 ("platform: Make platform_driver::remove() return
void") .remove() is (again) the right callback to implement for platform
drivers.

Convert all PCI controller drivers to use .remove(), with the eventual goal
to drop struct platform_driver::remove_new(). As .remove() and
.remove_new() have the same prototypes, conversion is done by just changing
the structure member name in the driver initializer.

Link: https://lore.kernel.org/r/20240927092449.44628-1-sergio.paracuellos@gmail.com
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/acpiphp_ampere_altra.c