commit | 73149badce2dbd9483e1af7010c4fb6425500ec0 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Jul 17 15:44:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Aug 03 18:41:20 2013 +0100 |
tree | 8112d6ac48bce19d179dc3670f9ce1e3c5587a8a | |
parent | b45ae32bd027d7b7a65cc50ce5484446077f2648 [diff] |
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 <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>