[PATCH 1/2] iio: Update iio_channel_get API to use consumer device pointer as argument

Anton Vorontsov anton at enomsg.org
Tue Feb 5 08:38:48 EST 2013


On Mon, Feb 04, 2013 at 12:26:05PM -0800, Guenter Roeck wrote:
> 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 at roeck-us.net>
> ---
>  drivers/extcon/extcon-adc-jack.c    |    3 +--
>  drivers/iio/inkern.c                |   11 ++++++++++-
>  drivers/power/generic-adc-battery.c |    4 ++--
>  drivers/power/lp8788-charger.c      |    8 ++++----
>  include/linux/iio/consumer.h        |    5 +++--
>  5 files changed, 20 insertions(+), 11 deletions(-)

Looks OK to me, Ack for drivers/power part.

Thanks.
Anton


More information about the devicetree-discuss mailing list