iio: STMicroelectronics: remove three useless selects
authorPaul Bolle <pebolle@tiscali.nl>
Tue, 14 May 2013 09:05:00 +0000 (10:05 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 22 May 2013 21:16:49 +0000 (22:16 +0100)
Drivers for STMicroelectronics accelerometers, gyroscopes, and
magnetometers were added in v3.9. They all have a (similar) select
statement in their Kconfig files for a non-existant Kconfig symbol.
These select statements can safely be removed.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/Kconfig
drivers/iio/gyro/Kconfig
drivers/iio/magnetometer/Kconfig

index bb59496..719d83f 100644 (file)
@@ -28,7 +28,6 @@ config IIO_ST_ACCEL_3AXIS
        select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
        select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
        select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
-       select IIO_ST_ACCEL_BUFFER if (IIO_TRIGGERED_BUFFER)
        help
          Say yes here to build support for STMicroelectronics accelerometers:
          LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
index 6be4628..b8daf1b 100644 (file)
@@ -47,7 +47,6 @@ config IIO_ST_GYRO_3AXIS
        select IIO_ST_GYRO_I2C_3AXIS if (I2C)
        select IIO_ST_GYRO_SPI_3AXIS if (SPI_MASTER)
        select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
-       select IIO_ST_GYRO_BUFFER if (IIO_TRIGGERED_BUFFER)
        help
          Say yes here to build support for STMicroelectronics gyroscopes:
          L3G4200D, LSM330DL, L3GD20, L3GD20H, LSM330DLC, L3G4IS, LSM330.
index bd1cfb6..c332b0a 100644 (file)
@@ -32,7 +32,6 @@ config IIO_ST_MAGN_3AXIS
        select IIO_ST_MAGN_I2C_3AXIS if (I2C)
        select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
        select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
-       select IIO_ST_MAGN_BUFFER if (IIO_TRIGGERED_BUFFER)
        help
          Say yes here to build support for STMicroelectronics magnetometers:
          LSM303DLHC, LSM303DLM, LIS3MDL.