summaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-09-13 10:42:39 -0700
committerGuenter Roeck <linux@roeck-us.net>2013-10-13 16:16:26 -0700
commitc52ae3d2794ee2a248245a9e5a26f717e1c401f5 (patch)
tree927fbc67c2d81ed2b1154798d12af4e9366cf8c3 /fs/read_write.c
parentbb34c0da646530425d9ae0e6e6229e641469da4c (diff)
downloadop-kernel-dev-c52ae3d2794ee2a248245a9e5a26f717e1c401f5.zip
op-kernel-dev-c52ae3d2794ee2a248245a9e5a26f717e1c401f5.tar.gz
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>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud