Skip to contentSkip to conversation

iio: dac: dpot: Drop dependency on OF

PATCH In review 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: dpot: 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 | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/dac/Kconfig +0 -1
index c0bf0d84197f..8d5b3bad75ad 100644
@@ -285,7 +285,6 @@ config CIO_DAC
 
 config DPOT_DAC
 	tristate "DAC emulation using a DPOT"
-	depends on OF
 	help
 	  Say yes here to build support for DAC emulation using a digital
 	  potentiometer.
Signature · 1 line
2.35.1
maintainer
#1 lore raw
Quoted 5 lines · On Wed, 13 Apr 2022 22:06:32 +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.

+CC Peter.

Given it's looks obviously correct applied.

Thanks,

Jonathan

Quoted 16 lines
---
 drivers/iio/dac/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/dac/Kconfig +0 -1
index c0bf0d84197f..8d5b3bad75ad 100644
@@ -285,7 +285,6 @@ config CIO_DAC
 
 config DPOT_DAC
 	tristate "DAC emulation using a DPOT"
-	depends on OF
 	help
 	  Say yes here to build support for DAC emulation using a digital
 	  potentiometer.