diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2017-03-04 11:31:24 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-04 19:41:27 +0300 |
commit | 31fd2c70b26d1fb803283c0488e3f84a2de1f329 (patch) | |
tree | 6fb4655043f19fa1eed499f88b83c3885efa9bfb /drivers/iio/accel/Kconfig | |
parent | a70b93bcb36ffe0844b7b4ca33e5c5234f629006 (diff) | |
download | linux-31fd2c70b26d1fb803283c0488e3f84a2de1f329.tar.xz |
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>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r-- | drivers/iio/accel/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig index 2308bac21c17..26b86149f20b 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig @@ -9,6 +9,7 @@ config ADXL345 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer Driver" depends on !(INPUT_ADXL34X=y || INPUT_ADXL34X=m) depends on I2C + select REGMAP_I2C help Say Y here if you want to build support for the Analog Devices ADXL345 3-axis digital accelerometer. |