iio: adc: ti-ads1015: add indio_dev->dev.of_node reference
authorMatt Ranostay <mranostay@gmail.com>
Fri, 1 Jul 2016 02:33:50 +0000 (19:33 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Jul 2016 12:12:46 +0000 (13:12 +0100)
commitf5241dbdfef4404b4e80f0bda13e5c7ceba3ee4a
tree36d8c7f8fe9b770b3027ca34994b4f38238adb35
parent3629153ce154cf475841d3d0d8cbb1bb1718269e
iio: adc: ti-ads1015: add indio_dev->dev.of_node reference

Add the pointer to the device tree node of the ADC so that iio
consumers can reference the respective channels.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ti-ads1015.c