RE: [PATCH 1/3] iio: add iio_read_channel_offset() consumer api

From: Kim, Milo
Date: Thu Aug 16 2012 - 03:49:24 EST


> > int iio_read_channel_scale(struct iio_channel *chan, int *val,
> > int *val2);
> >
> > +/**
> > + * iio_read_channel_offset() - read offset from a given channel
> > + * @channel: The channel being queried.
>
> the parameter is 'chan', not 'channel'
>

Oops, this is copy-and-paste disaster.
The description of iio_read_channel_scale() also needs correction.
Thanks for catching this !

After getting other feedbacks, separate patch will be submitted.

Best Regards,
Milo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/