staging:iio:max1363 - move to channel_spec registration.
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 18 May 2011 13:40:53 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:06:11 +0000 (16:06 -0700)
commit298cd976e07f1a0ca56adffd80c237117e3e11af
tree835f4c09274fbcec679a3c8346e8d017942e7d4a
parentf3736416e87001cab2112dd5186cb89490bbbb32
staging:iio:max1363 - move to channel_spec registration.

V3: move to single chan registration macro. Also introduce some
local macros to greatly reduce code length when setting up the
chan_spec arrays for all the different devices.

V2: update read_raw for two value approach.

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