]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging:iio:adis16080: Move out of staging
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 9 Jan 2013 14:01:00 +0000 (14:01 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Jan 2013 10:30:23 +0000 (10:30 +0000)
The driver is rather simple and in a good shape. It follows the IIO ABI and the
standard codechecker tools do not report any issues, so move it out of staging.

While moving it also remove one outdated 'fixme' comment.

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

index 96b68f63a902580c6a45c7265641397ffdda9d52..752ac8a3448bbf719dec12ea708741f7e3001b6c 100644 (file)
@@ -3,6 +3,13 @@
 #
 menu "Digital gyroscope sensors"
 
+config ADIS16080
+       tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
+       depends on SPI
+       help
+         Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw
+         Rate Gyroscope with SPI.
+
 config ADIS16136
        tristate "Analog devices ADIS16136 and similar gyroscopes driver"
        depends on SPI_MASTER
index 702a058907e35c96ef66aa42053b6be85eac1834..9b090ee084d3a85c75b9e778c80261eb5c245ee7 100644 (file)
@@ -2,5 +2,6 @@
 # Makefile for industrial I/O gyroscope sensor drivers
 #
 
+obj-$(CONFIG_ADIS16080) += adis16080.o
 obj-$(CONFIG_ADIS16136) += adis16136.o
 obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
similarity index 99%
rename from drivers/staging/iio/gyro/adis16080_core.c
rename to drivers/iio/gyro/adis16080.c
index 098a0a18ce2df8b716124e915bdcad567cf26358..1861287911f120af48172f2e3e9638549352cc10 100644 (file)
@@ -228,7 +228,6 @@ static int adis16080_probe(struct spi_device *spi)
        return ret;
 }
 
-/* fixme, confirm ordering in this function */
 static int adis16080_remove(struct spi_device *spi)
 {
        iio_device_unregister(spi_get_drvdata(spi));
index a439e0512d5a7a9688c56a5c752aaa4ea13312fe..658b3673d056b879138f7dd4e74205177e70f66d 100644 (file)
@@ -10,13 +10,6 @@ config ADIS16060
          Say yes here to build support for Analog Devices adis16060 wide bandwidth
          yaw rate gyroscope with SPI.
 
-config ADIS16080
-       tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
-       depends on SPI
-       help
-         Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw
-         Rate Gyroscope with SPI.
-
 config ADIS16130
        tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver"
        depends on SPI
index 79bef4ef7a54d52ef260f5f6be938e3340278aff..ef33161712994d4474222600b2b916fa8ec876bf 100644 (file)
@@ -5,9 +5,6 @@
 adis16060-y             := adis16060_core.o
 obj-$(CONFIG_ADIS16060) += adis16060.o
 
-adis16080-y             := adis16080_core.o
-obj-$(CONFIG_ADIS16080) += adis16080.o
-
 adis16130-y             := adis16130_core.o
 obj-$(CONFIG_ADIS16130) += adis16130.o