]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
regulator: drop unneeded dependencies on OF_GPIO
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 4 Mar 2026 09:02:26 +0000 (10:02 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Fri, 13 Mar 2026 13:42:53 +0000 (14:42 +0100)
OF_GPIO is selected automatically on all OF systems. Any symbols it
controls also provide stubs so there's really no reason to select it
explicitly.

Acked-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20260304-gpio-of-kconfig-v1-5-d597916e79e7@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/regulator/Kconfig

index a708fc63f581f02b6f4f5c145c7b0da69d0ac9ea..c1a5a516ce0a448715b8dad3e05904e888613a4f 100644 (file)
@@ -1232,7 +1232,6 @@ config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
        depends on ARM || ARM64 || COMPILE_TEST
        depends on BACKLIGHT_CLASS_DEVICE
        depends on I2C
-       depends on OF_GPIO
        select REGMAP_I2C
        help
          This driver supports ATTINY regulator on the Raspberry Pi 7-inch
@@ -1332,7 +1331,6 @@ config REGULATOR_RT5133
        depends on I2C && GPIOLIB && OF
        select REGMAP
        select CRC8
-       select OF_GPIO
        help
          This driver adds support for RT5133 PMIC regulators.
          RT5133 is an integrated chip. It includes 8 LDOs and 3 GPOs that