Message ID | 20210817081330.9645-1-lukas.bulwahn@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: gyro: remove dead config dependencies on INPUT_MPU3050 | expand |
On Tue, Aug 17, 2021 at 10:13 AM Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote: > 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> Oops my leftover. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
On Tue, 17 Aug 2021 22:11:36 +0200 Linus Walleij <linus.walleij@linaro.org> wrote: > On Tue, Aug 17, 2021 at 10:13 AM Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote: > > > 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> > > Oops my leftover. > Reviewed-by: Linus Walleij <linus.walleij@linaro.org> > > Yours, > Linus Walleij Applied, Thanks,
diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig index 20b5ac7ab66a..a672f7d12bbb 100644 --- a/drivers/iio/gyro/Kconfig +++ b/drivers/iio/gyro/Kconfig @@ -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
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> --- drivers/iio/gyro/Kconfig | 1 - 1 file changed, 1 deletion(-)