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: NEva Rachel Retuya <eraretuya@gmail.com> Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
drivers/iio/accel/adxl345.h
0 → 100644
drivers/iio/accel/adxl345_i2c.c
0 → 100644
想要评论请 注册 或 登录