[PATCH 31/31] PM / devfreq: convert to devm_pm_opp_register_notifier and remove unused API

Viresh Kumar viresh.kumar at linaro.org
Mon Jan 4 02:40:31 EST 2021


On 03-01-21, 03:57, Yangtao Li wrote:
>  Use devm_pm_opp_* API to simplify code.
> 
> Signed-off-by: Yangtao Li <tiny.windzz at gmail.com>
> ---
>  drivers/devfreq/devfreq.c | 66 +--------------------------------------
>  include/linux/devfreq.h   | 23 --------------
>  2 files changed, 1 insertion(+), 88 deletions(-)

Remove the unused stuff in a separate patch and let this layer keep
doing the devm thing, I don't think others would need it.

-- 
viresh



More information about the linux-arm-kernel mailing list