hwmon: (lm63) Add sensor type attribute for external sensor on LM96163
authorGuenter Roeck <linux@roeck-us.net>
Mon, 16 Jan 2012 21:51:46 +0000 (22:51 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 16 Jan 2012 21:51:46 +0000 (22:51 +0100)
commitf496b2d4f181fa5fcdf24016b11caaa33eb12477
tree8b52c917c9e95dcd4fd0c1907ac083c293601ed1
parent04738b2b2f37c13bbe37b7695fec6c1c60d79c7a
hwmon: (lm63) Add sensor type attribute for external sensor on LM96163

On LM96163, the external temperature sensor type is configurable to
either a thermal diode or a 3904 transistor. The chip reports a wrong
temperature if misconfigured. Add writable attribute to support it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/hwmon/lm63
drivers/hwmon/lm63.c