staging:iio:gyro:adis16260 move to chan_spec based setup.
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 18 May 2011 13:41:59 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:14:57 +0000 (16:14 -0700)
commit29b7f43ef41bdbdd35dc54ea878efb855c224b7b
treed3f9cdfe14fe3379e921b93a34f87c1ea6ff9548
parentcd69f57dee75cb27337bf5438359aae86503873f
staging:iio:gyro:adis16260 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.
V3: rebase fixup and make attribute_group static.

V2: IIO_CHAN macro updates.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/gyro/adis16260.h
drivers/staging/iio/gyro/adis16260_core.c
drivers/staging/iio/gyro/adis16260_ring.c
drivers/staging/iio/gyro/adis16260_trigger.c