summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/Kconfig
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-09-21 12:55:13 +0200
committerJonathan Cameron <jic23@kernel.org>2015-10-03 12:05:52 +0100
commit4011eda6139b315af3483c6de7dbdded3b07aedf (patch)
treeeeedc3fef35a29f96ae9f50c4723b8badb0f7b63 /drivers/iio/accel/Kconfig
parent0f0796509c07c1c7b77671c05b2955beb245e367 (diff)
downloadop-kernel-dev-4011eda6139b315af3483c6de7dbdded3b07aedf.zip
op-kernel-dev-4011eda6139b315af3483c6de7dbdded3b07aedf.tar.gz
iio: bmc150: Use i2c regmap
This replaces all usage of direct i2c accesses with regmap accesses. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Tested-by: Irina Tirdea <irina.tirdea@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r--drivers/iio/accel/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index 8172ae5..dd3e293 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -22,6 +22,8 @@ config BMC150_ACCEL
depends on I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
+ select REGMAP
+ select REGMAP_I2C
help
Say yes here to build support for the following Bosch accelerometers:
BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
OpenPOWER on IntegriCloud