]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (it87) Verify the VID pin usage
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:47 +0000 (20:35 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:47 +0000 (20:35 +0100)
commitf81f5cf220c7b6e2c08434eb9a835b407f91a09b
tree01e16fe1eef64fcf175853f88cefc04400148e42
parent00726e83f049912ed3a35a3cf6241d1f48ef48e4
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