Files
linux-st/include/linux
Ivan T. Ivanov acd8256723 iio: inkern: Add of_xlate function to struct iio_info
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@mm-sol.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-10-25 11:03:40 +01:00
..
2014-08-22 13:56:47 -07:00
2014-08-07 14:40:08 -04:00
2014-08-19 10:19:39 -05:00
2014-08-08 15:57:26 -07:00
2014-08-08 15:57:31 -07:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:24 -07:00
2014-08-08 15:57:22 -07:00