[PATCH] devfreq: Switch back to struct platform_driver::remove()
MyungJoo Ham
myungjoo.ham at samsung.com
Mon Dec 2 17:12:00 PST 2024
>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>
Acked-by: MyungJoo Ham <myungjoo.ham at samsung.com>
Cheers,
MyungJoo
>---
>Hello,
>
>this is based on Friday's next, feel free to drop changes that result in
>a conflict when you come around to apply this. I'll care for the fallout
>at a later time then. (Having said that, if you use b4 am -3 and git am
>-3, there should be hardly any conflict.)
>
>This is merge window material.
>
>Best regards
>Uwe
>
> drivers/devfreq/event/exynos-nocp.c | 6 +++---
> drivers/devfreq/event/exynos-ppmu.c | 6 +++---
> drivers/devfreq/mtk-cci-devfreq.c | 4 ++--
> drivers/devfreq/rk3399_dmc.c | 8 ++++----
> drivers/devfreq/sun8i-a33-mbus.c | 2 +-
> 5 files changed, 13 insertions(+), 13 deletions(-)
>
More information about the Linux-mediatek
mailing list