[PATCH] wifi: Switch back to struct platform_driver::remove()
Jeff Johnson
quic_jjohnson at quicinc.com
Wed Nov 6 10:22:56 PST 2024
On 11/6/2024 9:07 AM, 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.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
I'll let Kalle make the decision if he wants to take this patch into wireless
or if he'd prefer that the parts that have driver-specific projects be split
out separately. If he'll take it as-is, for drivers/net/wireless/ath/*:
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
More information about the Linux-mediatek
mailing list