commit | 9b7244192fb310b3ca8352250e2fd0946ebebc54 | [log] [tgz] |
---|---|---|
author | Michael Hennerich <michael.hennerich@analog.com> | Fri Sep 02 17:25:28 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Sep 06 16:03:30 2011 -0700 |
tree | d62c3e6500a36fd5a679cd21eb9088c35986f9ca | |
parent | 2b8cb40c9c788929bacbd0c2fdac847e66906805 [diff] |
staging:iio:adc:ad7152: update scale handling Add scale_available attribute. fix ad7152_scale_table, values are not sorted descending. Use IIO_VAL_INT_PLUS_NANO, to increase granularity. Update scale handling accordingly. 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>