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 bb594963f91e3d647e0993f0f60bb22a03ea1cdc..719d83fe51dd04620a3754529e64cf7a257349b2 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 6be4628faffec0a781ea4e1cdbde9dde7f916589..b8daf1b2ea06ebe0c7b55c120fee6a83eaa03364 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 bd1cfb6666952dc91b142a404da430a9ea6344f7..c332b0ae4a3b8b47ad940532d4b1f4994c2c3029 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.