Commit 4011eda6 authored by Markus Pargmann's avatar Markus Pargmann Committed by Jonathan Cameron

iio: bmc150: Use i2c regmap

This replaces all usage of direct i2c accesses with regmap accesses.
Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
Tested-by: default avatarIrina Tirdea <irina.tirdea@intel.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 0f079650
...@@ -22,6 +22,8 @@ config BMC150_ACCEL ...@@ -22,6 +22,8 @@ config BMC150_ACCEL
depends on I2C depends on I2C
select IIO_BUFFER select IIO_BUFFER
select IIO_TRIGGERED_BUFFER select IIO_TRIGGERED_BUFFER
select REGMAP
select REGMAP_I2C
help help
Say yes here to build support for the following Bosch accelerometers: Say yes here to build support for the following Bosch accelerometers:
BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280. BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment