OPP: Migrate set-prop-name helper API to use set-config helpers
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 26 May 2022 04:06:27 +0000 (09:36 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 8 Jul 2022 05:57:49 +0000 (11:27 +0530)
commit298098e55a6fcc176a5af52cd689f33577ead5ca
tree9d0f033e29a8a63d683ed4e7609c2c7321a01807
parent442e7a1786e628b38175314ec1805966b8d0c02c
OPP: Migrate set-prop-name helper API to use set-config helpers

Now that we have a central API to handle all OPP table configurations,
migrate the set-prop-name family of helpers to use the new
infrastructure.

The return type and parameter to the APIs change a bit due to this,
update the current users as well in the same commit in order to avoid
breaking builds.

Acked-by: Samuel Holland <samuel@sholland.org> # sun50i
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/sun50i-cpufreq-nvmem.c
drivers/opp/core.c
include/linux/pm_opp.h