Skip to content

Commit

Permalink
staging:iio:adis16080: Move out of staging
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
larsclausen authored and jic23 committed Jan 26, 2013
1 parent 668cce2 commit a9fbbee
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
7 changes: 7 additions & 0 deletions drivers/iio/gyro/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/iio/gyro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
7 changes: 0 additions & 7 deletions drivers/staging/iio/gyro/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/iio/gyro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a9fbbee

Please sign in to comment.