]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
hwmon: (f71882fg) Prepare for adding F8000 support
authorHans de Goede <hdegoede@redhat.com>
Wed, 7 Jan 2009 15:37:28 +0000 (16:37 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 7 Jan 2009 15:37:28 +0000 (16:37 +0100)
commit7567a0435520fe61420ff2cdc4cec1b5399a5134
tree8d508ead42c33c05e7321c5383f043cdb1b4af8d
parent3cc74758a667c5ad46fa5d6810ce701095370d35
hwmon: (f71882fg) Prepare for adding F8000 support

This patch is a preparation patch for adding F8000 support to the f71882fg
driver. If you look at the register addresses and esp, the bits used for
the temperature channels, then you will notice that it appears that they
start at 1 in a system meant to start at 0. As the F8000 actually uses the 0
addresses and bits, this patch changes the f71882fg driver to take 4
temperatures numbered 0-3 in to account, using 1-3 in this new scheme for
the temperatures actually present in the F718x2FG.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/f71882fg.c