lp8788-charger: Fix ADC channel names
authorKim, Milo <Milo.Kim@ti.com>
Mon, 22 Oct 2012 00:18:54 +0000 (00:18 +0000)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sun, 18 Nov 2012 04:44:44 +0000 (20:44 -0800)
commit08d816b8cb09de1fd8268c8f1dbc97c3cc435d67
tree03b00f78898c730d521cd908a5593eb34a9f0241
parent340968de484967f931d89d20a1344d213fa86fb8
lp8788-charger: Fix ADC channel names

The name of ADC channel is configurable in the platform side. This name is
referenced in the IIO consumer driver. To get the IIO channel, specific
name in the platform data is used as an parameter of the
iio_channel_get(). Thus, lp8788_adc_id platform data are replaced with
specific names.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/lp8788-charger.c
include/linux/mfd/lp8788.h