diff options
author | 2024-10-03 12:01:06 +0200 | |
---|---|---|
committer | 2024-10-04 16:39:57 -0700 | |
commit | 46e338bbd7198900c6637f2c3e5b450d4769ae76 (patch) | |
tree | e37cef587837d1190e1d4cbf1b301080b7a614e3 /lib/packing_test.c | |
parent | net: mdio: Switch back to struct platform_driver::remove() (diff) | |
download | wireguard-linux-46e338bbd7198900c6637f2c3e5b450d4769ae76.tar.xz wireguard-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 'lib/packing_test.c')
0 files changed, 0 insertions, 0 deletions