staging:iio:accel:adis16240 move to chan_spec based setup.
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 18 May 2011 13:41:58 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:14:57 +0000 (16:14 -0700)
commitcd69f57dee75cb27337bf5438359aae86503873f
tree4f0c2af82e82bf54cc2b1e47349bd7c9f4dde923
parenteb7fea53e53ed47e82b4cc9911dd8fdc7f953de5
staging:iio:accel:adis16240 move to chan_spec based setup.

For clean drivers its easier to convert to chan_spec based
registration than to work around the scan_el attributes
going away.

Some minor cleanups done whilst here.

Untested.
V2: IIO_CHAN macro use updated.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/adis16240.h
drivers/staging/iio/accel/adis16240_core.c
drivers/staging/iio/accel/adis16240_ring.c
drivers/staging/iio/accel/adis16240_trigger.c