Jim Cromie 28f74e7177 hwmon/pc87360 separate alarm files: define some constants
Bring hwmon/pc87360 into agreement with
Documentation/hwmon/sysfs-interface.

Patchset adds separate limit alarms for voltages and temps, it also adds
temp[123]_fault files.  On my Soekris, temps 1,2 are unused/unconnected,
so temp[123]_fault = 1,1,0 respectively.  This agrees with
/usr/bin/sensors, which has always shown them as OPEN.  Temps 4,5,6 are
thermistor based, and dont have a fault bit in their status register.

This patch:

2 different kinds of constants added:
- CHAN_ALM_* constants for (later) vin, temp alarm callbacks.
- CHAN_* conversion constants, used in _init_device, partly for RW1C bits

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:52:35 -07:00
..
2008-10-15 11:31:54 +11:00
2008-10-17 14:40:52 -07:00
2008-10-20 08:52:34 -07:00
2008-10-16 11:21:48 -07:00
2008-10-16 11:21:40 -07:00
2008-10-17 14:41:09 -07:00
2008-10-16 11:21:38 -07:00
2008-10-14 22:24:51 +01:00
2008-10-20 08:52:34 -07:00
2008-10-15 23:16:07 +01:00
2008-10-16 11:21:30 -07:00
2008-10-14 10:11:27 +11:00
2008-10-16 11:21:49 -07:00
2008-10-20 08:50:24 -07:00
2008-10-13 14:33:13 -07:00
2008-10-16 11:21:45 -07:00
2008-10-16 11:21:51 -07:00
2008-10-03 10:04:10 +02:00