PM / OPP: Rename dev_pm_opp_get_suspend_opp() and return OPP rate
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 2 Jan 2017 09:11:02 +0000 (14:41 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 27 Jan 2017 10:49:09 +0000 (11:49 +0100)
commit3aa26a3b2ea63c4d09420e74421370655aa1cf8f
treee1625cf9fd192fb4b10aac18b2e4fbc1ed7b1776
parent8cd2f6e8f34e75198063a6d84675b18bdb106824
PM / OPP: Rename dev_pm_opp_get_suspend_opp() and return OPP rate

There is only one user of dev_pm_opp_get_suspend_opp() and that uses it
to get the OPP rate for the suspend_opp.

Rename dev_pm_opp_get_suspend_opp() as dev_pm_opp_get_suspend_opp_freq()
and return the rate directly from it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/core.c
drivers/cpufreq/cpufreq-dt.c
include/linux/pm_opp.h