hwmon: (max1668) Add support for tempX_fault attributes
commitdabaa0d2b4085a2037d80a40b86ba215f00b601e
authorGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 10 Jun 2011 01:05:16 +0000 (9 18:05 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 28 Jul 2011 07:17:33 +0000 (28 00:17 -0700)
tree1be3184d5eff3d571a66db264ed3e68f989c85e7
parent731b4cace10f105a81d622b70f9a35f577612d63
hwmon: (max1668) Add support for tempX_fault attributes

MAX1668 and compatibles have several external temperature sensors, but only a
single FAULT status bit. If a fault occurs, the temperature reported on the
affected sensors is 127 degrees C. Use this knowledge to report fault on
external sensors.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/max1668.c