Skip to content
Commit 60cdeae0 authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Viresh Kumar
Browse files

opp: Reduce code duplication in _set_required_opps()



Move call to dev_pm_genpd_set_performance_state() to a separate
function so we can avoid duplicating the code for the single and
multiple genpd case.

Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
[ Viresh: Validate virtual device before use ]
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 475ac8ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment