[PATCH] fsc: Switch back to struct platform_driver::remove()
Uwe Kleine-König
u.kleine-koenig at baylibre.com
Mon Dec 2 14:14:35 PST 2024
Hello,
On Sat, Nov 30, 2024 at 04:05:30PM +0100, 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/fsi 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.
>
> While touching these drivers, make the alignment of the touched
> initializers consistent.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
Note that with e70140ba0d2b ("Get rid of 'remove_new' relic from
platform driver struct") (in Linus Torvald's tree) this patch isn't
needed any more.
Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20241202/944dcc3e/attachment.sig>
More information about the linux-arm-kernel
mailing list