From: Lars-Peter Clausen Date: Wed, 17 Jul 2013 14:44:00 +0000 (+0100) Subject: staging:iio:adis16260: Simplify calibscale and caliboffset reading X-Git-Tag: v3.12-rc1~183^2~322^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73149badce2dbd9483e1af7010c4fb6425500ec0;p=pandora-kernel.git staging:iio:adis16260: Simplify calibscale and caliboffset reading All channels for this device have the same number of bits for calibscale and caliboffset, there is no need to determine it dynamically based on the channel type. Also there is no locking required since adis_read_reg_16() will take care of proper locking on its own. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed