summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/adc/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-06-18 16:33:55 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-19 00:26:10 (GMT)
commitcc4dd03a6a9535cb2f731c5069e6a02781e3267a (patch)
tree15ff28f22b5153057c9d39d0d94f01d4f7fd7179 /drivers/staging/iio/adc/Kconfig
parent82796edca9ba014aa09cc158240c23b5b3f9326d (diff)
downloadlinux-cc4dd03a6a9535cb2f731c5069e6a02781e3267a.tar.xz
staging:iio:adc:ad7887: Use new triggered buffer setup helper function
Use the new triggered buffer setup helper function to allocate and register buffer and pollfunc. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/adc/Kconfig')
-rw-r--r--drivers/staging/iio/adc/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index 4fcc4be..e3fdb84 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -86,8 +86,7 @@ config AD7887
tristate "Analog Devices AD7887 ADC driver"
depends on SPI
select IIO_BUFFER
- select IIO_KFIFO_BUF
- select IIO_TRIGGER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Analog Devices
AD7887 SPI analog to digital converter (ADC).