Skip to contentSkip to conversation

iio: accel: dmard06: 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: accel: dmard06: 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/accel/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/accel/Kconfig +0 -1
index eac3f02662ae..b53f010f3e40 100644
@@ -290,7 +290,6 @@ config DA311
 
 config DMARD06
 	tristate "Domintech DMARD06 Digital Accelerometer Driver"
-	depends on OF || COMPILE_TEST
 	depends on I2C
 	help
 	  Say yes here to build support for the Domintech low-g tri-axial
Signature · 1 line
2.35.1
maintainer Applied
#1 lore raw
Quoted 3 lines · On Wed, 13 Apr 2022 22:03:27 +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. Note I amended the patch descriptions where relevant to drop reference to headers when they weren't touched in a given patch. Hopefully I caught all the cases of that.

Jonathan

Quoted 18 lines
---
 drivers/iio/accel/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/accel/Kconfig +0 -1
index eac3f02662ae..b53f010f3e40 100644
@@ -290,7 +290,6 @@ config DA311
 
 config DMARD06
 	tristate "Domintech DMARD06 Digital Accelerometer Driver"
-	depends on OF || COMPILE_TEST
 	depends on I2C
 	help
 	  Say yes here to build support for the Domintech low-g tri-axial