hwmon: (it87) Fix VID reading on IT8718F/IT8720F
authorJean Delvare <khali@linux-fr.org>
Sat, 24 Oct 2009 11:28:47 +0000 (13:28 +0200)
committerJean Delvare <khali@linux-fr.org>
Sat, 24 Oct 2009 11:28:47 +0000 (13:28 +0200)
commit371dc4a6d8c3c74a9a1c74b87c2affb3fcef6500
treefdb54e352516d1aebad72a1c5cf6b16284c51ff2
parent9d0914468fdf66d61a57e7c074b17a28eed4d3dd
hwmon: (it87) Fix VID reading on IT8718F/IT8720F

Comparing apples to bananas doesn't seem right. Consistently use the
chips enum for chip type comparisons, to avoid such bugs in the
future.

The bug has been there since support for the IT8718F was added, so
VID never worked for this chip nor for the similar IT8720F.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/it87.c