staging:iio:adc:ad7291: introduce IIO_EVENT_CODE_EXTRACT_CHAN_TYPE and use accordingly
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 2 Sep 2011 16:25:42 +0000 (17:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:03:36 +0000 (16:03 -0700)
commitb576590dcd4ef4774b155540e392491afb1d1da0
treee151deba023c3a43fcdc94cb08808af3075f8a7d
parent94c93dbde974b074a4301fb7c44f9dbb04da8712
staging:iio:adc:ad7291: introduce IIO_EVENT_CODE_EXTRACT_CHAN_TYPE and use accordingly

Fix channel type handling

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