]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commitbe821b78af9de886571e3565515a59f966d66f42
tree2fd43589b6673700b65c0c30efb4ffaecab690ea
parent97ae60bb38279e1941c738b1037a57e6b14efeaf
hwmon: (adt7473) Fix voltage conversion routines

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>
drivers/hwmon/adt7473.c