diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-11-05 09:51:18 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-11-06 23:59:41 +0100 |
commit | 1794ec1f9585501e4ed4390f5a5d396fd28c63ce (patch) | |
tree | fc73ae47399c3b88be386ce34690a20c3e88f0c4 /Kbuild | |
parent | PM / OPP: Parse all power-supply related bindings together (diff) | |
download | linux-1794ec1f9585501e4ed4390f5a5d396fd28c63ce.tar.xz linux-1794ec1f9585501e4ed4390f5a5d396fd28c63ce.zip |
PM / OPP: Propagate error properly from dev_pm_opp_set_sharing_cpus()
We are returning 0 even in case of errors, fix it.
Fixes: 8d4d4e98acd6 ("PM / OPP: Add helpers for initializing CPU OPPs")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 4.3 <stable@vger.kernel.org> # 4.3
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions