drivers/hwmon/adm1021.c: add low_power support for adm1021 driver
authorMichael Abbott <michael@araneidae.co.uk>
Tue, 22 Sep 2009 00:04:47 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:49 +0000 (07:17 -0700)
commit905ffdc35e50844ab45bbc59d5302238844f8526
tree13f5fcb88fe9b8f049181234749ea715b509e34b
parentf266889517252bc697e7103bcd6ed46bdf2c1579
drivers/hwmon/adm1021.c: add low_power support for adm1021 driver

Occasionally it is helpful to be able to turn a temperature sensor off
(for example if it's making unwanted electrical noise).  This patch
adds a sysfs node to put any adm1021 compatible device into low power mode.

Signed-off-by: Michael Abbott <michael.abbott@diamond.ac.uk>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/adm1021.c