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)
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

Simple merge