Re: [PATCH v2] iio: inkern: Add of_xlate function to struct iio_info

From: Ivan T. Ivanov
Date: Mon Nov 03 2014 - 05:51:49 EST



On Mon, 2014-11-03 at 11:31 +0100, Lars-Peter Clausen wrote:
> On 11/03/2014 11:07 AM, Ivan T. Ivanov wrote:
> > On Sat, 2014-10-25 at 11:04 +0100, Jonathan Cameron wrote:
> > > On 22/10/14 16:32, Lars-Peter Clausen wrote:
> > > > On 10/22/2014 05:29 PM, Ivan T. Ivanov wrote:
> > > > > When #iio-cells is greater than '0', the driver could provide
> > > > > a custom of_xlate function that reads the *args* and returns
> > > > > the appropriate index in registered IIO channels array.
> > > > >
> > > > > Add simple translation function, suitable for the most 1:1
> > > > > mapped channels in IIO chips, and use it when driver did not
> > > > > provide custom implementation.
> > > > >
> > > > > Signed-off-by: Ivan T. Ivanov <iivanov@xxxxxxxxxx>
> > > >
> > > > Reviewed-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
> > > >
> > > Applied to the togreg branch of iio.git - initially pushed out as testing
> > > for the autobuilders to play with it.
> >
> > Thank you. Probably my git skills failed me, but I can not
> > find it in aforementioned branches. Is it publicly pushed?
>
> It's in the testing branch.
>
> http://git.kernel.org/cgit/linux/kernel/git/jic23/iio.git/log/?h=testing
>

Thank you. Ivan
--
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/