commit | 6377aa496a0bc40af4f66574c813bb9a807a7e3a | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Tue Aug 19 23:43:00 2014 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Sep 14 20:26:08 2014 +0100 |
tree | 252856251cc5c6368e4a221a30e0ec890a2c2b0b | |
parent | c1949ec18e50e1e23f3045a7c3836c289f553bb8 [diff] |
iio:bma180: Prepare for accelerometer channels with different resolutions allow to specify channels resolution and compute shift assuming 16-bit registers and MSB allocation Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>