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

Heiko Stuebner heiko at sntech.de
Tue Oct 29 19:01:46 AEDT 2024


Am Dienstag, 29. Oktober 2024, 08:48:58 CET schrieb Uwe Kleine-König:
> 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/soc 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.
> 
> On the way do a few whitespace changes to make indention consistent.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>


>  drivers/soc/rockchip/io-domain.c            | 8 ++++----

For the Rockchip part:
Acked-by: Heiko Stuebner <heiko at sntech.de>




More information about the Linux-aspeed mailing list