summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm63.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-03-23 10:02:18 +0100
committerJean Delvare <khali@endymion.delvare>2012-03-23 10:02:18 +0100
commitf7001bb063ec06e7fff8782146a7bed49dfe6507 (patch)
tree43e81025282433a3496b56968e6e15fe54dee9c8 /drivers/hwmon/lm63.c
parentae544f64cc7b0850471f62e6808068ef77b90763 (diff)
downloadblackbird-op-linux-f7001bb063ec06e7fff8782146a7bed49dfe6507.tar.gz
blackbird-op-linux-f7001bb063ec06e7fff8782146a7bed49dfe6507.zip
hwmon: (lm90) Restore original configuration if probe function fails
The lm90 driver restores the original chip configuration in its exit function. However, the chip configuration is not restored if the probe function fails. Restore it there as well. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/lm63.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud