From: Bartosz Golaszewski Date: Wed, 4 Mar 2026 09:02:26 +0000 (+0100) Subject: regulator: drop unneeded dependencies on OF_GPIO X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf017304fce10933f18fafe140bf749fb9672058;p=thirdparty%2Fkernel%2Flinux.git regulator: drop unneeded dependencies on OF_GPIO 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 Link: https://patch.msgid.link/20260304-gpio-of-kconfig-v1-5-d597916e79e7@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index a708fc63f581f..c1a5a516ce0a4 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -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