Skip to contentSkip to conversation

iio: light: cm3605: 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: light: cm3605: 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/light/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/light/Kconfig +0 -1
index a62c7b4b8678..8537e88f02e3 100644
@@ -155,7 +155,6 @@ config CM3323
 
 config CM3605
 	tristate "Capella CM3605 ambient light and proximity sensor"
-	depends on OF
 	help
 	  Say Y here if you want to build a driver for Capella CM3605
 	  ambient light and short range proximity sensor.
Signature · 1 line
2.35.1
maintainer
#1 lore raw
Quoted 5 lines · On Wed, 13 Apr 2022 21:46: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 to the togreg branch of iio.git and pushed out as testing for 0-day to see if it can find anything we missed.

Note I amended the description to not mention headers seeing as the patch doesn't make that sort of change.

Thanks,

Jonathan

Quoted 16 lines
---
 drivers/iio/light/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/light/Kconfig +0 -1
index a62c7b4b8678..8537e88f02e3 100644
@@ -155,7 +155,6 @@ config CM3323
 
 config CM3605
 	tristate "Capella CM3605 ambient light and proximity sensor"
-	depends on OF
 	help
 	  Say Y here if you want to build a driver for Capella CM3605
 	  ambient light and short range proximity sensor.