staging:iio: Move adis16400 out of staging
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 16 Jan 2013 12:48:00 +0000 (12:48 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Jan 2013 10:07:50 +0000 (10:07 +0000)
This adis16400 driver is in pretty good shape now, so move it out of staging.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/Kconfig
drivers/iio/imu/Makefile
drivers/iio/imu/adis16400.h [moved from drivers/staging/iio/imu/adis16400.h with 100% similarity]
drivers/iio/imu/adis16400_buffer.c [moved from drivers/staging/iio/imu/adis16400_ring.c with 100% similarity]
drivers/iio/imu/adis16400_core.c [moved from drivers/staging/iio/imu/adis16400_core.c with 100% similarity]
drivers/staging/iio/Kconfig
drivers/staging/iio/Makefile
drivers/staging/iio/imu/Kconfig [deleted file]
drivers/staging/iio/imu/Makefile [deleted file]

index 3d79a40..47f66ed 100644 (file)
@@ -3,6 +3,17 @@
 #
 menu "Inertial measurement units"
 
+config ADIS16400
+       tristate "Analog Devices ADIS16400 and similar IMU SPI driver"
+       depends on SPI
+       select IIO_ADIS_LIB
+       select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
+       help
+         Say yes here to build support for Analog Devices adis16300, adis16344,
+         adis16350, adis16354, adis16355, adis16360, adis16362, adis16364,
+         adis16365, adis16400 and adis16405 triaxial inertial sensors
+         (adis16400 series also have magnetometers).
+
 config ADIS16480
        tristate "Analog Devices ADIS16480 and similar IMU driver"
        depends on SPI
index cfe5763..019b717 100644 (file)
@@ -2,6 +2,9 @@
 # Makefile for Inertial Measurement Units
 #
 
+adis16400-y             := adis16400_core.o
+adis16400-$(CONFIG_IIO_BUFFER) += adis16400_buffer.o
+obj-$(CONFIG_ADIS16400) += adis16400.o
 obj-$(CONFIG_ADIS16480) += adis16480.o
 
 adis_lib-y += adis.o
index ca56c75..94d60d5 100644 (file)
@@ -32,7 +32,6 @@ source "drivers/staging/iio/cdc/Kconfig"
 source "drivers/staging/iio/frequency/Kconfig"
 source "drivers/staging/iio/gyro/Kconfig"
 source "drivers/staging/iio/impedance-analyzer/Kconfig"
-source "drivers/staging/iio/imu/Kconfig"
 source "drivers/staging/iio/light/Kconfig"
 source "drivers/staging/iio/magnetometer/Kconfig"
 source "drivers/staging/iio/meter/Kconfig"
index fa6937d..468b7f8 100644 (file)
@@ -20,7 +20,6 @@ obj-y += cdc/
 obj-y += frequency/
 obj-y += gyro/
 obj-y += impedance-analyzer/
-obj-y += imu/
 obj-y += light/
 obj-y += magnetometer/
 obj-y += meter/
diff --git a/drivers/staging/iio/imu/Kconfig b/drivers/staging/iio/imu/Kconfig
deleted file mode 100644 (file)
index 096afc8..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# IIO imu drivers configuration
-#
-menu "Inertial measurement units"
-
-config ADIS16400
-       tristate "Analog Devices ADIS16400 and similar IMU SPI driver"
-       depends on SPI
-       select IIO_ADIS_LIB
-       select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
-       help
-         Say yes here to build support for Analog Devices adis16300, adis16344,
-         adis16350, adis16354, adis16355, adis16360, adis16362, adis16364,
-         adis16365, adis16400 and adis16405 triaxial inertial sensors
-         (adis16400 series also have magnetometers).
-
-endmenu
diff --git a/drivers/staging/iio/imu/Makefile b/drivers/staging/iio/imu/Makefile
deleted file mode 100644 (file)
index c9988f6..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# Makefile for Inertial Measurement Units
-#
-
-adis16400-y             := adis16400_core.o
-adis16400-$(CONFIG_IIO_BUFFER) += adis16400_ring.o
-obj-$(CONFIG_ADIS16400) += adis16400.o