diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-09-13 21:38:09 +0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-10-14 03:16:26 +0400 |
commit | bb34c0da646530425d9ae0e6e6229e641469da4c (patch) | |
tree | 8a14b118dcb684c766bd3d61482f93dfbf150560 /sound/pci/ad1889.c | |
parent | af78fdf4a61827bed7f0fcbba8cc9ae393a3ad82 (diff) | |
download | linux-bb34c0da646530425d9ae0e6e6229e641469da4c.tar.xz |
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 'sound/pci/ad1889.c')
0 files changed, 0 insertions, 0 deletions