iio: gyro: remove dead config dependencies on INPUT_MPU3050
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Tue, 17 Aug 2021 08:13:30 +0000 (10:13 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Sep 2021 11:00:32 +0000 (12:00 +0100)
Commit b1fe0cf06f92 ("Input: delete MPU3050 driver") deletes the superseded
MPU3050 driver and its corresponding config INPUT_MPU3050.

The dependencies on the superseding driver in ./drivers/iio/gyro/Kconfig
to ensure that the two drivers are not built into the same kernel is a dead
dependency and not required anymore.

So, remove those config dependencies on INPUT_MPU3050 for MPU3050_I2C.

This issue was detected with ./scripts/checkkconfigsymbols.py.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210817081330.9645-1-lukas.bulwahn@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/gyro/Kconfig

index 20b5ac7..a672f7d 100644 (file)
@@ -126,7 +126,6 @@ config MPU3050
 
 config MPU3050_I2C
        tristate "Invensense MPU3050 devices on I2C"
-       depends on !(INPUT_MPU3050=y || INPUT_MPU3050=m)
        depends on I2C
        select MPU3050
        select REGMAP_I2C