[PATCH] soc: Switch back to struct platform_driver::remove()
Bjorn Andersson
andersson at kernel.org
Tue Oct 29 08:24:02 PDT 2024
On Tue, Oct 29, 2024 at 08:48:58AM GMT, 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/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>
Acked-by: Bjorn Andersson <andersson at kernel.org> # qcom parts
Regards,
Bjorn
More information about the Linux-rockchip
mailing list