git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb34c0d
)
hwmon: (gpio_fan) Use error value returned from get_fan_speed_index()
author
Guenter Roeck
<linux@roeck-us.net>
Fri, 13 Sep 2013 17:42:39 +0000
(10:42 -0700)
committer
Guenter Roeck
<linux@roeck-us.net>
Sun, 13 Oct 2013 23:16:26 +0000
(16:16 -0700)
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>
No differences found