Re: [PATCH 11/12] PM / OPP: Simplify dev_pm_opp_get_max_volt_latency()

From: Stephen Boyd
Date: Mon Jan 09 2017 - 17:40:40 EST


On 12/07, Viresh Kumar wrote:
> 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@xxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project