aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/bus/omap_l3_smx.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-11-12 09:35:19 +0100
committerArnd Bergmann <arnd@arndb.de>2024-11-12 15:53:37 +0100
commit1fac9f8b7d28402c5f29173f06a784cd3b561e38 (patch)
treeb3653d6c5477a469999e25b06eb1cf10d8e162a0 /drivers/bus/omap_l3_smx.c
parentMerge tag 'omap-for-v6.13/drivers-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap into arm/drivers (diff)
downloadwireguard-linux-1fac9f8b7d28402c5f29173f06a784cd3b561e38.tar.xz
wireguard-linux-1fac9f8b7d28402c5f29173f06a784cd3b561e38.zip
bus: 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/bus 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. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/bus/omap_l3_smx.c')
-rw-r--r--drivers/bus/omap_l3_smx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/omap_l3_smx.c b/drivers/bus/omap_l3_smx.c
index ee6d29925e4d..7f0a8f8b3f4c 100644
--- a/drivers/bus/omap_l3_smx.c
+++ b/drivers/bus/omap_l3_smx.c
@@ -273,7 +273,7 @@ static void omap3_l3_remove(struct platform_device *pdev)
static struct platform_driver omap3_l3_driver = {
.probe = omap3_l3_probe,
- .remove_new = omap3_l3_remove,
+ .remove = omap3_l3_remove,
.driver = {
.name = "omap_l3_smx",
.of_match_table = of_match_ptr(omap3_l3_match),