staging:iio:adc:ad7291 bring into line with current abi + chan_spec conversion.

Also add some locking.

Some major changes to how this driver works.

For voltage channels it is currently either in single read mode or in
a monitor mode (events only). Could be much cleverer and allow
reading of any channels that happend to be monitored, but haven't
done that yet.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <Michael.Hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Jonathan Cameron 2011-09-02 17:25:32 +01:00 committed by Greg Kroah-Hartman
parent fe55a17039
commit 4fd242471e
1 changed files with 322 additions and 584 deletions

File diff suppressed because it is too large Load Diff