diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-09-13 10:38:09 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-10-13 16:16:26 -0700 |
commit | bb34c0da646530425d9ae0e6e6229e641469da4c (patch) | |
tree | 8a14b118dcb684c766bd3d61482f93dfbf150560 /tools/perf/scripts/python/syscall-counts.py | |
parent | af78fdf4a61827bed7f0fcbba8cc9ae393a3ad82 (diff) |
hwmon: (adt7462) Use error value returned from find_trange_value()
find_trange_value() returns -ENODEV in case of errors, only to have it
ignored and replaced with -EINVAL. Make it return -EINVAL and use it.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions