summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gpio-fan.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-09 02:40:34 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2010-11-11 18:32:07 +0100
commitf0030d87be3cb2eb9eac633d09cb5d9f107ed0c6 (patch)
treea75cfa0e336e81c5bfcbd958a98a153ec39c80d6 /drivers/hwmon/gpio-fan.c
parenthwmon: (adt7470) Return proper error code for adt7470_probe() (diff)
downloadlinux-f0030d87be3cb2eb9eac633d09cb5d9f107ed0c6.tar.xz
linux-f0030d87be3cb2eb9eac633d09cb5d9f107ed0c6.zip
hwmon: (ad7414) Return proper error code for ad7414_probe()
Return proper error if i2c_check_functionality reports the adapter does not support the capability we need. Also remove unneeded initialization for err variable. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Sean MacLennan <smaclennan@pikatech.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/gpio-fan.c')
0 files changed, 0 insertions, 0 deletions