Skip to contentSkip to conversation

iio: dac: lpc18xx: Drop dependency on OF

PATCH Applied Andy Shevchenko 2 participants 2 messages Apr 13, 2022 – Apr 16, 2022 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: dac: lpc18xx: Drop dependency on OF

Nothing in this driver depends on OF firmware so drop the dependency and update the headers to remove the false impression such a dependency exists.

---
 drivers/iio/dac/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/dac/Kconfig +1 -1
index 8d5b3bad75ad..d578e242d74d 100644
@@ -304,7 +304,7 @@ config DS4424
 config LPC18XX_DAC
 	tristate "NXP LPC18xx DAC driver"
 	depends on ARCH_LPC18XX || COMPILE_TEST
-	depends on OF && HAS_IOMEM
+	depends on HAS_IOMEM
 	help
 	  Say yes here to build support for NXP LPC18XX DAC.
 
Signature · 1 line
2.35.1
maintainer Applied
#1 lore raw
Quoted 5 lines · On Wed, 13 Apr 2022 22:08:19 +0300 Andy Shevchenko…

Nothing in this driver depends on OF firmware so drop the dependency and update the headers to remove the false impression such a dependency exists.

Applied. Thanks,

Quoted 17 lines
---
 drivers/iio/dac/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/dac/Kconfig +1 -1
index 8d5b3bad75ad..d578e242d74d 100644
@@ -304,7 +304,7 @@ config DS4424
 config LPC18XX_DAC
 	tristate "NXP LPC18xx DAC driver"
 	depends on ARCH_LPC18XX || COMPILE_TEST
-	depends on OF && HAS_IOMEM
+	depends on HAS_IOMEM
 	help
 	  Say yes here to build support for NXP LPC18XX DAC.