]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm90) Restore configuration on exit
authorJean Delvare <khali@linux-fr.org>
Fri, 5 Mar 2010 21:17:14 +0000 (22:17 +0100)
committerJean Delvare <khali@linux-fr.org>
Fri, 5 Mar 2010 21:17:14 +0000 (22:17 +0100)
commitf3a28d9de9ceae7ba1a4d6fa3131f6c051021935
tree21a1c398b9102c74d38a61d22d34089e5697ccd1
parent29a650a6d34bb1d9f60e9fe15770f2701bbfed52
hwmon: (lm90) Restore configuration on exit

Restore the chip configuration when unloading the driver. This ensures
we don't leave the chip running if it was initially stopped.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm90.c