hwmon: (ltc4245) Read only one GPIO pin
authorIra W. Snyder <iws@ovro.caltech.edu>
Thu, 27 May 2010 17:59:02 +0000 (19:59 +0200)
committerJean Delvare <khali@linux-fr.org>
Thu, 27 May 2010 17:59:02 +0000 (19:59 +0200)
commitdf16dd53c575d0cb9dbee20a3149927c862a9ff6
tree767244e8aaa1d9bcb996e4fc83637eb100ff7868
parentea694431f9c862bd409c90ba1cb3bdc6fdde8635
hwmon: (ltc4245) Read only one GPIO pin

Read only one of the GPIO pins as an analog voltage. The ADC can be
switched to a different GPIO pin at runtime, but this is not supported.

Previously, this driver would report the analog voltage of the currently
selected GPIO pin as all three GPIO voltages: in9_input, in10_input and
in11_input.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
Documentation/hwmon/ltc4245
drivers/hwmon/ltc4245.c