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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:15:55 +0000 (11:15 -0700)
commit91fe12f532fc6687218f4861f0ac7b7ded419383
tree4bb0fb1fe19b758e0bac3938fcb29ec76cd0283f
parentf417b91c30e84e759d395f45d524eeee95250822
hwmon: (ltc4245) Read only one GPIO pin

commit df16dd53c575d0cb9dbee20a3149927c862a9ff6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/hwmon/ltc4245
drivers/hwmon/ltc4245.c