diff options
author | Darren Hart (VMware) <dvhart@infradead.org> | 2017-04-19 18:11:33 -0700 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-04-20 13:26:18 -0700 |
commit | a055f9ecb5b4d0cb8b33ba664363a2ed7804a6c7 (patch) | |
tree | 01b87a06997ebe4fd8a4b26a205738ce7fc4d528 /tools/perf/scripts/python/check-perf-trace.py | |
parent | c21ee12f460c33fcc12fe162c9ab98f3c58073aa (diff) |
platform/x86: hp-wmi: Do not shadow errors in sysfs show functions
The new hp_wmi_read_int function returns a negative value in case of
error, pass this on directly rather than always replacing it with
-EINVAL.
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Tested-by: Carlo Caione <carlo@endlessm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions