diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-05-27 19:58:59 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-05-27 19:58:59 +0200 |
commit | 38806bda6b7c8473c47a967a514260c1a1c32c2e (patch) | |
tree | e52a767e565e0f6361c34a77418b6cd68e292b70 /drivers/hwmon/max1619.c | |
parent | hwmon: (tmp102) Fix suspend and resume functions (diff) | |
download | linux-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