commit | cdd3e614cfda724826ec8a522022709380b84597 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Mon Jan 23 10:11:51 2017 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jan 30 09:22:22 2017 +0100 |
tree | 86cf7b770f5f419a27d192d209210378a0f3bae8 | |
parent | a7f3987ea1af0a4b5a9003d4b22b2260e4afad03 [diff] |
PM / OPP: Simplify dev_pm_opp_get_max_volt_latency() dev_pm_opp_get_max_volt_latency() calls _find_opp_table() two times effectively. Merge _get_regulator_count() into dev_pm_opp_get_max_volt_latency() to avoid that. 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>