]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iio: Move ad7476 driver out of staging
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 10 Sep 2012 08:34:00 +0000 (09:34 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 15 Sep 2012 09:02:14 +0000 (10:02 +0100)
The ad7476 driver is a driver for simple single channel ADCs. The driver does
not export any experimental or custom ABI files nor do the static code check
tools report any issues, so move the driver out of staging.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/ad7476.c [moved from drivers/staging/iio/adc/ad7476.c with 100% similarity]
drivers/staging/iio/adc/Kconfig
drivers/staging/iio/adc/Makefile

index d0ae71ec2aa04d16b7cb63e693acb80e271ca827..f98c493efff8c437b2a4b5268fcdd5a88ccfe4e4 100644 (file)
@@ -30,6 +30,20 @@ config AD7791
          To compile this driver as a module, choose M here: the module will be
          called ad7791.
 
+config AD7476
+       tristate "Analog Devices AD7475/6/7/8 AD7466/7/8 and AD7495 ADC driver"
+       depends on SPI
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
+       help
+         Say yes here to build support for Analog Devices
+         AD7475, AD7476, AD7477, AD7478, AD7466, AD7467, AD7468, AD7495
+         SPI analog to digital converters (ADC).
+         If unsure, say N (but it's safe to say "Y").
+
+         To compile this driver as a module, choose M here: the
+         module will be called ad7476.
+
 config AT91_ADC
        tristate "Atmel AT91 ADC"
        depends on ARCH_AT91
index f187ff6c2a16a84f74a13e9366c30d15f067c5cf..9824a70f4fd824df01f4e2366d241036bf1acf7a 100644 (file)
@@ -4,5 +4,6 @@
 
 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
 obj-$(CONFIG_AD7266) += ad7266.o
+obj-$(CONFIG_AD7476) += ad7476.o
 obj-$(CONFIG_AD7791) += ad7791.o
 obj-$(CONFIG_AT91_ADC) += at91_adc.o
index a1fa1729acbe1e6baba2ec99e4e0792fe1cc50ca..1b4a356639a5f66426dc18a84426576deba918d7 100644 (file)
@@ -68,20 +68,6 @@ config AD799X_RING_BUFFER
          Say yes here to include ring buffer support in the AD799X
          ADC driver.
 
-config AD7476
-       tristate "Analog Devices AD7475/6/7/8 AD7466/7/8 and AD7495 ADC driver"
-       depends on SPI
-       select IIO_BUFFER
-       select IIO_TRIGGERED_BUFFER
-       help
-         Say yes here to build support for Analog Devices
-         AD7475, AD7476, AD7477, AD7478, AD7466, AD7467, AD7468, AD7495
-         SPI analog to digital converters (ADC).
-         If unsure, say N (but it's safe to say "Y").
-
-         To compile this driver as a module, choose M here: the
-         module will be called ad7476.
-
 config AD7887
        tristate "Analog Devices AD7887 ADC driver"
        depends on SPI
index 6b60af038616fe3ffba42568acfce16ecd217858..62ee02e80cf9340ce4da5a908ec47a624a1e2ad0 100644 (file)
@@ -17,8 +17,6 @@ ad799x-y := ad799x_core.o
 ad799x-$(CONFIG_AD799X_RING_BUFFER) += ad799x_ring.o
 obj-$(CONFIG_AD799X) += ad799x.o
 
-obj-$(CONFIG_AD7476) += ad7476.o
-
 ad7887-y := ad7887_core.o
 ad7887-$(CONFIG_IIO_BUFFER) += ad7887_ring.o
 obj-$(CONFIG_AD7887) += ad7887.o