Eric Miao 012f3b9118 hwmon: (max1111) Change sysfs interface to in[0-3]_input in millivolts
This patch fixed the inconsistent max1111 sysfs interface as pointed
out by Jean Delvare:

    It was pointed to me that the max1111 driver doesn't implement the
    standard sysfs interface for hwmon drivers (as described in
    Documentation/hwmon/sysfs-interface). It exports files adc[0-3]_in,
    which
    aren't part of the standard interface. Presumably these should be
    renamed to in[0-3]_input. Renaming them is probably not sufficient
    though, as I see no scaling done in the driver. As the MAX1111 chip has
    a documented full scale of 2.048V, I take it that the LSB of the ADC
    has a weight of 8 mV. Exporting raw register values to user-space is
    not OK.

Reported-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2012-01-16 22:51:45 +01:00
..
2012-01-05 08:19:34 -08:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2012-01-05 08:19:34 -08:00
2011-01-12 21:55:11 +01:00
2012-01-05 08:19:34 -08:00
2012-01-05 08:19:34 -08:00
2012-01-05 08:19:33 -08:00
2012-01-05 08:19:35 -08:00
2011-07-25 21:46:11 +02:00
2012-01-05 08:19:34 -08:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2012-01-05 08:19:34 -08:00
2011-03-14 22:39:11 -07:00
2009-12-14 21:17:26 +01:00
2011-07-25 21:46:09 +02:00
2012-01-05 08:19:34 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00