summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-09-01 11:44:40 +0200
committerJonathan Cameron <jic23@kernel.org>2016-09-18 11:28:21 +0100
commit0d1fb2d52d8b4a1124cb2db7d22c4131ad5805cf (patch)
tree33e6f6fe5223f60dac2c166749bd3fcecb2b0790 /drivers/iio/accel/Kconfig
parentab04f734b08a404550ba5f8391307bad2145acff (diff)
iio: accel: kxsd9: Convert to use regmap for transport
This converts the KXSD9 driver to drop the custom transport mechanism and just use regmap like everything else. Tested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r--drivers/iio/accel/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index 89bc5c5d6fd0..eebc20d6c827 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -131,6 +131,7 @@ config KXSD9_SPI
depends on KXSD9
depends on SPI
default KXSD9
+ select REGMAP_SPI
help
Say yes here to enable the Kionix KXSD9 accelerometer
SPI transport channel.