Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb34c0da authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
Reviewed-by: default avatarJean Delvare <khali@linux-fr.org>
parent af78fdf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment