summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/max1619.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-05-27 19:58:59 +0200
committerJean Delvare <khali@linux-fr.org>2010-05-27 19:58:59 +0200
commit38806bda6b7c8473c47a967a514260c1a1c32c2e (patch)
treee52a767e565e0f6361c34a77418b6cd68e292b70 /drivers/hwmon/max1619.c
parenthwmon: (tmp102) Fix suspend and resume functions (diff)
downloadlinux-38806bda6b7c8473c47a967a514260c1a1c32c2e.tar.xz
linux-38806bda6b7c8473c47a967a514260c1a1c32c2e.zip
hwmon: (tmp102) Don't always stop chip at exit
Only stop the chip at driver exit if it was stopped when driver was loaded. Leave it running otherwise. Also restore the device configuration if probe failed, to not leave the system in a dangling state. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Steven King <sfking@fdwdc.com>
Diffstat (limited to 'drivers/hwmon/max1619.c')
0 files changed, 0 insertions, 0 deletions