diff mbox series

[v1,1/1] iio: accel: dmard06: Drop dependency on OF

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

Commit Message

Andy Shevchenko April 13, 2022, 7:03 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/accel/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Jonathan Cameron April 16, 2022, 10:45 a.m. UTC | #1
On Wed, 13 Apr 2022 22:03: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.
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

> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/iio/accel/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
> index eac3f02662ae..b53f010f3e40 100644
> --- a/drivers/iio/accel/Kconfig
> +++ b/drivers/iio/accel/Kconfig
> @@ -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
diff mbox series

Patch

diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index eac3f02662ae..b53f010f3e40 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -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