]> git.karo-electronics.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>
Thu, 13 Oct 2011 15:33:53 +0000 (08:33 -0700)
commit0e554f48615b98f433f68f8279bc02a5f43e738a
tree29ca56d5221a065a95b5c8aea363fcd28c89a918
parent8073a1b270f19214409c53f383d049edcd3987e3
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