iio: ti_tscadc: provide datasheet_name and scan_type
commitc80df483f61d0464224dc4386ced470c7275d78f
authorPantelis Antoniou <panto@antoniou-consulting.com>
Sat, 13 Oct 2012 13:37:24 +0000 (13 16:37 +0300)
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 12 Jun 2013 16:50:20 +0000 (12 18:50 +0200)
treedd82608840876c8ffe0d51d87b2bd892206a6867
parent9e5775f31289fc9915e4a2e4077950ea9a5da0b4
iio: ti_tscadc: provide datasheet_name and scan_type

This patch provides the members "datasheet_name" and scan_type. This is
the remaining part of the earlier patch where I (bigeasy) removed iio_map
because it is now supplied by the device tree. It also static names as
suggested by Jonathan.

Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
drivers/iio/adc/ti_am335x_adc.c