hwmon: (lm87) Restore original configuration register on removal
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 17 Oct 2008 15:51:11 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:11 +0000 (17:51 +0200)
commitd2cac802feae6f0c246a9251eefc482bf5ec0f0f
tree21042d9f19d485d8ecba85b21a4c98251791adc3
parent49ae6cc8005f45edadf237089c31885834f2608e
hwmon: (lm87) Restore original configuration register on removal

This means that if we have to start the monitor when probed, we also
stop it on removal.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm87.c