hwmon: (adt7473) Fix voltage conversion routines
authorJean Delvare <khali@linux-fr.org>
Sun, 26 Oct 2008 16:04:40 +0000 (17:04 +0100)
committerJean Delvare <khali@linux-fr.org>
Sun, 26 Oct 2008 16:04:40 +0000 (17:04 +0100)
Fix voltage conversion routines. Based on an earlier patch from
Paulius Zaleckas.

According to the datasheet voltage is scaled with resistors and
value 192 is nominal voltage. 0 is 0V.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Cc: Darrick J. Wong <djwong@us.ibm.com>

No differences found