commit | 31fd2c70b26d1fb803283c0488e3f84a2de1f329 | [log] [tgz] |
---|---|---|
author | Eva Rachel Retuya <eraretuya@gmail.com> | Sat Mar 04 16:31:24 2017 +0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Mar 04 16:41:27 2017 +0000 |
tree | 6fb4655043f19fa1eed499f88b83c3885efa9bfb | |
parent | a70b93bcb36ffe0844b7b4ca33e5c5234f629006 [diff] |
iio: accel: adxl345: Use I2C regmap instead of direct I2C access Convert the driver to use regmap instead of I2C-specific functions. This is done in preparation for splitting this driver into core and I2C-specific code as well as introduction of SPI driver. 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>