hwmon: (lineage-pem): Fix in1 voltage alarm sysfs attributes
commitd668a8b022a201e65ec5e301a9e6dff78987550c
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 23:34:07 +0000 (15 16:34 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Wed, 16 Mar 2011 13:57:34 +0000 (16 06:57 -0700)
treeb14c0d3273ed653ef8588093033c2454ab88af2f
parente5e713cbe812e8b9ef2099694be7c587c51438c4
hwmon: (lineage-pem): Fix in1 voltage alarm sysfs attributes

The alarm bit assumed to be a low voltage alarm bit is not set for low voltage
alarms, and the alarm bit assumed to be a high voltage alarm turns out to be a
general alarm bit which is set for both low and high voltage alarms.

Remove the in1_min_alarm sysfs attribute and rename in1_max_alarm to in1_alarm
to reflect the situation.

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