Skip to content
Commit 09f662f9 authored by Viresh Kumar's avatar Viresh Kumar
Browse files

OPP: Return error on error from dev_pm_opp_get_opp_count()



Return error number instead of 0 on failures.

Fixes: a1e8c136 ("PM / OPP: "opp-hz" is optional for power domains")
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 50b6b87c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment