staging:iio:adc:ad7606 add local define for chan_spec structures.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 30 Sep 2011 09:05:38 +0000 (10:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 23:07:03 +0000 (16:07 -0700)
commit50ac23be392c7bc88193247e85baddbcd08150ee
tree1e8c1e6a43b64bcc2df52663f1e12267cbfce900
parent58dffaeddd2d59fc78eb2f218fda7cce81c66690
staging:iio:adc:ad7606 add local define for chan_spec structures.

IIO_CHAN is being phased out and in this case things are so
simple it makes sense to have a local one parameter equivalent.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad7606_core.c