OPP: Migrate set-opp-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)
commit3c543b42a6df35feb3db6689e512fa167739451e
tree55c470e21d1665d5379290f42c585bde964fa387
parent2368f57685768f9f9cd666eaa4194a359d89afb8
OPP: Migrate set-opp-helper API to use set-config helpers

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

Remove devm_pm_opp_register_set_opp_helper() as it has no users
currently.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
drivers/opp/ti-opp-supply.c
include/linux/pm_opp.h