OPP: ti: Migrate to dev_pm_opp_set_config_regulators()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 31 May 2022 09:06:35 +0000 (14:36 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 8 Jul 2022 05:57:49 +0000 (11:27 +0530)
commit6baee034cb55d53b74165d31c2371f0736c432e8
treead749120185ac0c811ed7b5efe4af891e0661d9a
parent69b1af178a3a534da2f20fa0c7356fcbbe8cce1f
OPP: ti: Migrate to dev_pm_opp_set_config_regulators()

The OPP core now provides dev_pm_opp_set_config_regulators() interface,
which needs the platforms to just set the OPP voltages instead of both
clk and voltage.  The clock is set by the OPP core instead and hence
reduces code redundancy.

Migrate the only user of the custom set_opp() to
dev_pm_opp_set_config_regulators().

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