hwmon: (it87) Verify the VID pin usage
commit895ff267686663afa894314b749d23ac2867434a
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:47 +0000 (9 20:35 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:47 +0000 (9 20:35 +0100)
tree01e16fe1eef64fcf175853f88cefc04400148e42
parentf7290e24e3ce8a0b4b39a74800fd341b6b7a6f47
hwmon: (it87) Verify the VID pin usage

The VID input pins can alternatively be used as GPIOs. Make sure we
have at least 4 pins used for VID, otherwise don't bother reading and
exposing VID.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Adam Nielsen <a.nielsen@shikadi.net>
Documentation/hwmon/it87
drivers/hwmon/it87.c