]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (w83627ehf) Move fan pins check to a separate function
authorJean Delvare <khali@linux-fr.org>
Thu, 13 Oct 2011 14:43:14 +0000 (10:43 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 24 Oct 2011 18:09:46 +0000 (11:09 -0700)
commit03f5de2bb7125e537c81030925f38674307e6a71
treee01ed88715f121140a8e3f673b29c128d8de604d
parent389ef65d2eae579b23af719f5ef18d625f41fada
hwmon: (w83627ehf) Move fan pins check to a separate function

Move the check of fan pin usage to a separate function. This improves
readability, and will make it easier to integrate chip-specific
conditions.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/w83627ehf.c