OPP: Migrate set-supported-hw 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:48 +0000 (11:27 +0530)
commit89f03984fa2abface1ffb1fe050b7c175651ffc7
tree7cdfe0e39ccf7c5b9a944c050d36dc0e8d1fa13e
parentb0ec09428621daee5101130c307634a390b0213b
OPP: Migrate set-supported-hw API to use set-config helpers

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

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/imx-cpufreq-dt.c
drivers/cpufreq/tegra20-cpufreq.c
drivers/memory/tegra/tegra124-emc.c
drivers/opp/core.c
include/linux/pm_opp.h