From: Michael Hennerich Date: Fri, 2 Sep 2011 16:25:27 +0000 (+0100) Subject: staging:iio:adc:ad7152: Miscellaneous fixes and touch-up X-Git-Tag: v3.2-rc1~169^2^2~711 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b8cb40c9c788929bacbd0c2fdac847e66906805;p=pandora-kernel.git staging:iio:adc:ad7152: Miscellaneous fixes and touch-up Remove unused define. Introduce cached SETUP variables. Wait until calibration finished. (Device returns to idle state) IIO_CHAN_INFO_CALIBSCALE_SEPARATE use proper scales. (range 1.0 to 1.99999) i2c_smbus word transactions expect low byte first, therefore swap bytes. CAPDIFF is bit in SETUP not CFG. Signed-off-by: Michael Hennerich Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed