staging:iio:adc:ad7476 use channel_spec
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 18 May 2011 13:41:24 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:14:49 +0000 (16:14 -0700)
commitc5e0819e2d82c78c392a91a320e92cd4e19d54b7
tree14e2c95ab8fce4f56f31a91e51998c1f2064613c
parent6da288a35b1b90dd1cbe8a682ba1180f672b1c13
staging:iio:adc:ad7476 use channel_spec

V3: Trivial rebase fixup.
V2: Move to new single IIO_CHAN macro.

Done without hardware.

Fix from Michael Hennerich incorporated to use
iio_ring_buffer_register_ex instead of
iio_ring_buffer_register and thus actually make it work.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad7476.h
drivers/staging/iio/adc/ad7476_core.c
drivers/staging/iio/adc/ad7476_ring.c