aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-09-13 13:38:09 -0400
committerGuenter Roeck <linux@roeck-us.net>2013-10-13 19:16:26 -0400
commitbb34c0da646530425d9ae0e6e6229e641469da4c (patch)
tree8a14b118dcb684c766bd3d61482f93dfbf150560 /lib
parentaf78fdf4a61827bed7f0fcbba8cc9ae393a3ad82 (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 'lib')
0 files changed, 0 insertions, 0 deletions