cpufreq: dt: Use dev_pm_opp_set_rate() to switch frequency
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 9 Feb 2016 05:00:46 +0000 (10:30 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Feb 2016 23:24:37 +0000 (00:24 +0100)
commit78c3ba5df96c875b1668e1cd3ee0a69e62454f32
tree29eae5ede8671be0169329bd9200e16cb01e8186
parent755b888ff098c9f762717a9fbda7e05b16619069
cpufreq: dt: Use dev_pm_opp_set_rate() to switch frequency

OPP core supports frequency/voltage changes based on the target
frequency now, use that instead of open coding the same in cpufreq-dt
driver.

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/cpufreq/cpufreq-dt.c