]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7475) Handle alternative pin functions
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:06 +0000 (20:36 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:06 +0000 (20:36 +0100)
commita855b6c84c593d31a23100ee36d300ece07fd04d
treec96aea59308a4426ece06e47adf3caf1c8277e79
parentcadeb657b3fe41f26b2b77d950754a94a168e744
hwmon: (adt7475) Handle alternative pin functions

The TACH4 pin can be used for other functions, so fan4 may not always
be available. Likewise, the PWM2 pin can be used for ALERT output, in
which case pwm2 is not available

For the ADT7490, the +2.5 Vin pin may also be used for other
functions, in which case in0 is not available.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
drivers/hwmon/adt7475.c