opp: Add devres wrapper for dev_pm_opp_set_clkname
authorYangtao Li <tiny.windzz@gmail.com>
Sun, 14 Mar 2021 16:33:54 +0000 (19:33 +0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 15 Mar 2021 03:56:53 +0000 (09:26 +0530)
commita74f681c3710b47a093d910ca7c6666b3d1e3a2c
tree7a0f6e482e9e89a20eedcb485560614d27b651e8
parent606a5d4227e4610399c61086ac55c46068a90b03
opp: Add devres wrapper for dev_pm_opp_set_clkname

Add devres wrapper for dev_pm_opp_set_clkname() to simplify drivers code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
include/linux/pm_opp.h