[PATCH] devfreq: Switch back to struct platform_driver::remove()
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Dec 2 03:33:08 PST 2024
Il 30/11/24 14:58, Uwe Kleine-König ha scritto:
> 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/devfreq 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>
For MediaTek
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the linux-arm-kernel
mailing list