Commits
![Guenter Roeck](https://secure.gravatar.com/avatar/5310e4cef02c9a8db987f669d4d5828f.jpg?s=96&d=mm)
Guenter Roeck committed c52ae3d2794
hwmon: (gpio_fan) Use error value returned from get_fan_speed_index() get_fan_speed_index() returns -EINVAL in case of errors, only to have it ignored and replaced with -ENODEV. Make it return -ENODEV and use it. Signed-off-by: Guenter Roeck <linux@roeck-us.net>