hwmon: (pc87427) Handle disabled fan inputs properly
authorJean Delvare <khali@linux-fr.org>
Sat, 14 Aug 2010 19:08:56 +0000 (21:08 +0200)
committerJean Delvare <khali@linux-fr.org>
Sat, 14 Aug 2010 19:08:56 +0000 (21:08 +0200)
commit4e7d99e1acddea44be61aee0b934a7ce45d4c3f4
tree94b7735b2217b7c0d4dfd4dacce99a6bbfefaf2a
parentc39aedafb242601729bef48db052ebc055ce3ab4
hwmon: (pc87427) Handle disabled fan inputs properly

Most fan input pins of the PC87427 can have alternate functions.
Update the driver to check the configuration register and only support
fan inputs which are really used for fan monitoring.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/pc87427.c