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 /kernel/audit_watch.c | |
parent | 8d4dee98b10050db9c32a449e460a2f69bb558ec (diff) |
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 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions