iio: Update iio_channel_get API to use consumer device pointer as argument
authorGuenter Roeck <linux@roeck-us.net>
Mon, 4 Feb 2013 20:26:00 +0000 (20:26 +0000)
committerJonathan Cameron <jic23@kernel.org>
Wed, 6 Feb 2013 19:23:52 +0000 (19:23 +0000)
commit5aa57f0a655276f62683c0cc714cd6328d98e08a
treedf06afdc9f598c3da0671a296d2319191e46be2b
parent860c9c54272deaab43b40dbe416becb34abd344f
iio: Update iio_channel_get API to use consumer device pointer as argument

For iio_channel_get to work with OF based configurations, it needs the
consumer device pointer instead of the consumer device name as argument.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Anton Vorontsov <anton@enomsg.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/extcon/extcon-adc-jack.c
drivers/iio/inkern.c
drivers/power/generic-adc-battery.c
drivers/power/lp8788-charger.c
include/linux/iio/consumer.h