Re: [PATCH v6 2/4] iio: accel: adxl345: Use I2C regmap instead of direct I2C access

2017-03-04 Thread Jonathan Cameron
On 04/03/17 08:31, Eva Rachel Retuya wrote: > 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 > Reviewed-by: An

[PATCH v6 2/4] iio: accel: adxl345: Use I2C regmap instead of direct I2C access

2017-03-04 Thread Eva Rachel Retuya
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 Reviewed-by: Andy Shevchenko --- Changes from v5: * Re-order local var