[PATCH] wifi: Switch back to struct platform_driver::remove()
Kalle Valo
kvalo at kernel.org
Mon Nov 11 04:10:58 PST 2024
Uwe Kleine-König <u.kleine-koenig at baylibre.com> 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.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> Acked-by: Toke Høiland-Jørgensen <toke at toke.dk>
> Acked-by: Arend van Spriel <arend.vanspriel at broadcom.com>
> Acked-by: Jiri Slaby <jirislaby at kernel.org>
Patch applied to wireless-next.git, thanks.
b41f96ecb9b7 wifi: Switch back to struct platform_driver::remove()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20241106170706.38922-2-u.kleine-koenig@baylibre.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath10k
mailing list