OPP: Migrate set-regulators API to use set-config helpers
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 4 Jul 2022 11:06:26 +0000 (16:36 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 8 Jul 2022 05:57:33 +0000 (11:27 +0530)
commitb0ec09428621daee5101130c307634a390b0213b
tree12fb0b4d0eedc8fb64d1bb2c3ce6ed3ea4d761f4
parent25a18559b8ae4f6491e189483fb00f7de0a0d2d8
OPP: Migrate set-regulators API to use set-config helpers

Now that we have a central API to handle all OPP table configurations,
migrate the set-regulators 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.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq-dt.c
drivers/devfreq/exynos-bus.c
drivers/opp/core.c
include/linux/pm_opp.h