diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-03 12:01:06 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-05 01:39:57 +0200 |
commit | 46e338bbd7198900c6637f2c3e5b450d4769ae76 (patch) | |
tree | e37cef587837d1190e1d4cbf1b301080b7a614e3 /drivers/net/fjes/fjes_main.c | |
parent | net: mdio: Switch back to struct platform_driver::remove() (diff) | |
download | linux-46e338bbd7198900c6637f2c3e5b450d4769ae76.tar.xz linux-46e338bbd7198900c6637f2c3e5b450d4769ae76.zip |
net: 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/net after the previous
conversion commits apart from the wireless 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.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/fjes/fjes_main.c')
-rw-r--r-- | drivers/net/fjes/fjes_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index fad5b6564464..4a4ed2ccf72f 100644 --- a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes/fjes_main.c @@ -1466,7 +1466,7 @@ static struct platform_driver fjes_driver = { .name = DRV_NAME, }, .probe = fjes_probe, - .remove_new = fjes_remove, + .remove = fjes_remove, }; static acpi_status |