hwmon: (ltc4245) Read only one GPIO pin

commit df16dd53c5 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>
This commit is contained in:
Ira W. Snyder 2010-05-27 19:59:02 +02:00 • committed by Greg Kroah-Hartman
commit f2ee4d3738
2 changed files with 6 additions and 16 deletions