]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fb2d3c3c9ea496f6af615e0665e5a5b0eb28630
tree21042d9f19d485d8ecba85b21a4c98251791adc3
parentb5c7afdc5e6143fd074c088ad6a4708c2a8ef847
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