diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-02-09 10:30:45 +0530 |
|---|---|---|
| committer | Alex Shi <alex.shi@linaro.org> | 2016-04-08 11:47:37 +0800 |
| commit | ba7b484ca022afe4fc4b64b3f4ed359a57a93831 (patch) | |
| tree | 0ab2b76e6e18a20a1d7976ee58acf02298303db1 /tools/perf/util/setup.py | |
| parent | 70969a89d8212f3d77a4c67712fbbd22c465d50e (diff) | |
cpufreq: dt: Reuse dev_pm_opp_get_max_transition_latency()
OPP layer has all the information now to calculate transition latency
(clock_latency + voltage_latency). Lets reuse the OPP layer helper
dev_pm_opp_get_max_transition_latency() 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>
(cherry picked from commit 755b888ff098c9f762717a9fbda7e05b16619069)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'tools/perf/util/setup.py')
0 files changed, 0 insertions, 0 deletions
