]> err.no Git - linux-2.6/commit
[PATCH] hwmon: w83792d fix unused fan pins
authorJean Delvare <khali@linux-fr.org>
Tue, 29 Nov 2005 21:27:14 +0000 (22:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Nov 2005 05:39:22 +0000 (21:39 -0800)
commit9632051963cb6e6f7412990f8b962209b9334e13
tree1f1fe030107d06e4b43dbee90e95b374ccec7fc2
parentd2ef5ebb4c4fe141a82252d4db8d8521e6765c5a
[PATCH] hwmon: w83792d fix unused fan pins

1. This patch add check for fan4,5,6,7 and do not create device file
   if their pins are not configured as fan.
2. Fix the issue that can not set fan divisor to 128.
3. Fix the index out of bounds bug in w83792d_detect function.

Signed-off-by: Yuan Mu <ymu@winbond.com.tw>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/w83792d.c