cpufreq: dt: OPP layers handles clock-latency for V1 bindings as well
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 9 Feb 2016 05:00:42 +0000 (10:30 +0530)
committerAlex Shi <alex.shi@linaro.org>
Fri, 8 Apr 2016 03:47:35 +0000 (11:47 +0800)
commitc9be30497a25decc31658f82603c4647c59b5e08
treed6ba9245032a6c38c04f4af3696c55385492d6f8
parentc56192201536f960a81bbf845c4667a9c79a2439
cpufreq: dt: OPP layers handles clock-latency for V1 bindings as well

"clock-latency" is handled by OPP layer for all bindings and so there is
no need to make special calls for V1 bindings. Use
dev_pm_opp_get_max_clock_latency() for both the cases.

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>
(cherry picked from commit 391d9aef8145204e0a5d67be3bd1fc45c5396dae)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
drivers/cpufreq/cpufreq-dt.c