iio: Update iio_channel_get_all and iio_channel_get_all_cb API
authorGuenter Roeck <linux@roeck-us.net>
Thu, 31 Jan 2013 21:43:00 +0000 (21:43 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 2 Feb 2013 11:58:46 +0000 (11:58 +0000)
commitca7d98dbd7db6aa8bc4b08e26be1249436d21af3
treeb0a094e0a28b62adace30b549a550305064a72d7
parent482bb4e6c648a68598cde9d4a56b066df26d5ae6
iio: Update iio_channel_get_all and iio_channel_get_all_cb API

Pass device pointer instead of device name as parameter to iio_channel_get_all
and iio_channel_get_all_cb. This will enable us to use OF information to
retrieve consumer channel information.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/buffer_cb.c
drivers/iio/inkern.c
drivers/staging/iio/iio_hwmon.c
include/linux/iio/consumer.h