[PATCH] wifi: Switch back to struct platform_driver::remove()
Toke Høiland-Jørgensen
toke at toke.dk
Thu Nov 7 01:35:13 PST 2024
Uwe Kleine-König <u.kleine-koenig at baylibre.com> writes:
> 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/wireless 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.
>
> En passant several whitespace changes are done to make indentation
> consistent in the struct initializers.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
For ath9k:
Acked-by: Toke Høiland-Jørgensen <toke at toke.dk>
More information about the Linux-mediatek
mailing list