commit | 5170512cf6a17373b3a8bb63187a6e90ddf7c1ca | [log] [tgz] |
---|---|---|
author | Eva Rachel Retuya <eraretuya@gmail.com> | Sat Mar 04 16:31:25 2017 +0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Mar 04 16:45:08 2017 +0000 |
tree | 23477c75026e73231dda78d0dd9bca20739d39a8 | |
parent | 31fd2c70b26d1fb803283c0488e3f84a2de1f329 [diff] |
iio: accel: adxl345: Split driver into core and I2C Move I2C-specific code into its own file and rely on regmap to access registers. The core code provides access to x, y, z and scale readings. Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>