Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v1 1/1] iio: light: cm3605: Drop dependency on OF
@ 2022-04-13 18:46 Andy Shevchenko
  2022-04-16 10:55 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2022-04-13 18:46 UTC (permalink / raw)
  To: Joe Sandom, linux-iio, linux-kernel
  Cc: Jonathan Cameron, Lars-Peter Clausen, 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.

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 1/1] iio: light: cm3605: Drop dependency on OF
  2022-04-13 18:46 [PATCH v1 1/1] iio: light: cm3605: Drop dependency on OF Andy Shevchenko
@ 2022-04-16 10:55 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2022-04-16 10:55 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Joe Sandom, linux-iio, linux-kernel, Lars-Peter Clausen

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-16 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-13 18:46 [PATCH v1 1/1] iio: light: cm3605: Drop dependency on OF Andy Shevchenko
2022-04-16 10:55 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox