diff mbox series

[v1,1/1] iio: light: cm3605: Drop dependency on OF

Message ID 20220413184627.21125-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Accepted
Headers show
Series [v1,1/1] iio: light: cm3605: Drop dependency on OF | expand

Commit Message

Andy Shevchenko April 13, 2022, 6:46 p.m. UTC
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.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/iio/light/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Jonathan Cameron April 16, 2022, 10:55 a.m. UTC | #1
On Wed, 13 Apr 2022 21:46:27 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

> 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.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
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

> ---
>  drivers/iio/light/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
> index a62c7b4b8678..8537e88f02e3 100644
> --- a/drivers/iio/light/Kconfig
> +++ b/drivers/iio/light/Kconfig
> @@ -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.
diff mbox series

Patch

diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index a62c7b4b8678..8537e88f02e3 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -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.