staging: iio: adc: ad799x drop in_precision in favor of new in_type
authorMichael Hennerich <michael.hennerich@analog.com>
Thu, 7 Oct 2010 14:14:10 +0000 (16:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 7 Oct 2010 17:07:01 +0000 (10:07 -0700)
commit3ba2e4939d1d0426466de755a2435d2cbb311f8e
treedea531cbdca75639e3a53dab6fb678112d81c25a
parenta7861ff082fe75fd7d7fd22c87c37c8425674ae2
staging: iio: adc: ad799x drop in_precision in favor of new in_type

-drop in_precision in favor of new in_type -
This also fixes the bug from the scan elements move (as a side effect)
-add sign and storagebits to struct ad799x_chip_info
-properly mask the results based on ad799x_chip_info:bits

staging: iio: adc: ad799x misc fixed per iio list review

remove new line
remove storagebits from struct ad799x_chip_info
use defined storagebits value for in_type

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