diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-10-03 11:52:03 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2018-10-04 05:40:56 +0200 |
commit | 09f662f95306f3e3d47ab6842bc4b0bb868a80ad (patch) | |
tree | 105022d7562edbd348cb9c16e4ada7bcf18dff0d /drivers/cpufreq/cpufreq-dt.c | |
parent | OPP: Improve error handling in dev_pm_opp_of_cpumask_add_table() (diff) | |
download | linux-09f662f95306f3e3d47ab6842bc4b0bb868a80ad.tar.xz linux-09f662f95306f3e3d47ab6842bc4b0bb868a80ad.zip |
OPP: Return error on error from dev_pm_opp_get_opp_count()
Return error number instead of 0 on failures.
Fixes: a1e8c13600bf ("PM / OPP: "opp-hz" is optional for power domains")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt.c')
0 files changed, 0 insertions, 0 deletions