Skip to contentSkip to conversation

iio: gyro: remove dead config dependencies on INPUT_MPU3050

PATCH Applied Lukas Bulwahn 3 participants 3 messages Aug 17, 2021 – Aug 29, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: gyro: remove dead config dependencies on INPUT_MPU3050

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.

---
 drivers/iio/gyro/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/gyro/Kconfig +0 -1
index 20b5ac7ab66a..a672f7d12bbb 100644
@@ -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
Signature · 1 line
2.26.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Lukas Bulwahn

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.

Quoted 5 lines

So, remove those config dependencies on INPUT_MPU3050 for MPU3050_I2C.

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

Oops my leftover.

Yours,
Linus Walleij

maintainer Applied
#2 lore raw
Quoted 13 lines · On Tue, 17 Aug 2021 22:11:36 +0200 Linus Walleij <[email protected]>…
Quoted 11 lines · Lukas Bulwahn

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.

Quoted 7 lines
Quoted 1 line

Oops my leftover.

Yours,
Linus Walleij

Applied,

Thanks,