[PATCH] wifi: Switch back to struct platform_driver::remove()

Jiri Slaby jirislaby at kernel.org
Thu Nov 7 02:01:14 PST 2024


On 06. 11. 24, 18:07, Uwe Kleine-König wrote:
> 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.
...
>   drivers/net/wireless/ath/ath5k/ahb.c                   |  8 ++++----

For the above:

Acked-by: Jiri Slaby <jirislaby at kernel.org>

-- 
js
suse labs



More information about the Linux-mediatek mailing list