diff options
author | 2018-10-03 15:12:06 +0530 | |
---|---|---|
committer | 2018-10-04 09:10:56 +0530 | |
commit | 50b6b87c8484da8bb5dcce00f84ec80aee8fc2bd (patch) | |
tree | 041102715d10180d856b96791f75931d3931da10 /tools/perf/scripts/python | |
parent | OPP: Pass OPP table to _of_add_opp_table_v{1|2}() (diff) | |
download | linux-dev-50b6b87c8484da8bb5dcce00f84ec80aee8fc2bd.tar.xz linux-dev-50b6b87c8484da8bb5dcce00f84ec80aee8fc2bd.zip |
OPP: Improve error handling in dev_pm_opp_of_cpumask_add_table()
The error handling wasn't appropriate in
dev_pm_opp_of_cpumask_add_table(). For example it returns 0 on success
and also for the case where cpumask is empty or cpu_device wasn't found
for any of the CPUs.
It should really return error on such cases, so that the callers can be
aware of the outcome.
Fix it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions