]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ddadde1e7b4aee732f2ede78ed90e4b0c86c5b8
treefdb54e352516d1aebad72a1c5cf6b16284c51ff2
parentd63e6316cae6b13664ba282b71b99042ec504535
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