Skip to contentSkip to conversation

mfd: max5970: Drop OF dependency

PATCH Applied Andy Shevchenko 2 participants 2 messages Nov 11, 2025 – Nov 19, 2025 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: max5970: Drop OF dependency

This is the only Kconfig symbol that depends on OF while selecting the common driver for several chips. Drop this unneeded dependency and make the component available on non-OF systems along with wider compile test.

---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
index dbeac6825a10..0c39cce3821b 100644
@@ -896,7 +896,7 @@ config MFD_88PM886_PMIC
 
 config MFD_MAX5970
 	tristate "Maxim 5970/5978 power switch and monitor"
-	depends on I2C && OF
+	depends on I2C
 	select MFD_SIMPLE_MFD_I2C
 	help
 	  This driver controls a Maxim 5970/5978 switch via I2C bus.
Signature · 1 line
2.50.1
maintainer Applied
#1 lore raw

Re: (subset) [PATCH v1 1/1] mfd: max5970: Drop OF dependency

Quoted 5 lines · Andy Shevchenko

This is the only Kconfig symbol that depends on OF while selecting the common driver for several chips. Drop this unneeded dependency and make the component available on non-OF systems along with wider compile test.

Applied, thanks!

[1/1] mfd: max5970: Drop OF dependency

      commit: b0ed6b6cce1abd1e57311584066e73d0ed877bef

--
Lee Jones [李琼斯]