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)
commit95238364167edaf93ce2890e5f55326b63194851
tree21a1c398b9102c74d38a61d22d34089e5697ccd1
parent6771ea1fff988651593f78c122bc02e80f5100a0
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