aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/microchip/mpfs-sys-controller.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-10-29 07:48:58 +0000
committerArnd Bergmann <[email protected]>2024-11-01 16:08:57 +0000
commit511c06e3903563dba4472430e1b586745b6ae238 (patch)
tree9dde841a62a9f515dce8cb97ce1ee1b1c33b9cd6 /drivers/soc/microchip/mpfs-sys-controller.c
parentLinux 6.12-rc4 (diff)
downloadkernel-511c06e3903563dba4472430e1b586745b6ae238.tar.gz
kernel-511c06e3903563dba4472430e1b586745b6ae238.zip
soc: 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 platform drivers below drivers/soc 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. On the way do a few whitespace changes to make indention consistent. Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Heiko Stuebner <[email protected]> Acked-by: Herve Codina <[email protected]> # for fsl/qe/{qmc,tsa}.c Acked-by: Bjorn Andersson <[email protected]> # qcom parts Acked-by: Gabriel Somlo <[email protected]> Acked-by: Andrew Jeffery <[email protected]> # aspeed Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/soc/microchip/mpfs-sys-controller.c')
-rw-r--r--drivers/soc/microchip/mpfs-sys-controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/microchip/mpfs-sys-controller.c b/drivers/soc/microchip/mpfs-sys-controller.c
index 7a4936019329..30bc45d17d34 100644
--- a/drivers/soc/microchip/mpfs-sys-controller.c
+++ b/drivers/soc/microchip/mpfs-sys-controller.c
@@ -232,7 +232,7 @@ static struct platform_driver mpfs_sys_controller_driver = {
.of_match_table = mpfs_sys_controller_of_match,
},
.probe = mpfs_sys_controller_probe,
- .remove_new = mpfs_sys_controller_remove,
+ .remove = mpfs_sys_controller_remove,
};
module_platform_driver(mpfs_sys_controller_driver);