commit | bb34c0da646530425d9ae0e6e6229e641469da4c | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Fri Sep 13 10:38:09 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Oct 13 16:16:26 2013 -0700 |
tree | 8a14b118dcb684c766bd3d61482f93dfbf150560 | |
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>