[PATCH] mfd: adp5585: Drop obsolete dependency on COMPILE_TEST

Jean Delvare posted 1 patch 1 month ago
drivers/mfd/Kconfig |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mfd: adp5585: Drop obsolete dependency on COMPILE_TEST
Posted by Jean Delvare 1 month ago
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
is possible to test-build any driver which depends on OF on any
architecture by explicitly selecting OF. Therefore depending on
COMPILE_TEST as an alternative is no longer needed.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
 drivers/mfd/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-6.12-rc4.orig/drivers/mfd/Kconfig
+++ linux-6.12-rc4/drivers/mfd/Kconfig
@@ -25,7 +25,7 @@ config MFD_ADP5585
 	select MFD_CORE
 	select REGMAP_I2C
 	depends on I2C
-	depends on OF || COMPILE_TEST
+	depends on OF
 	help
 	  Say yes here to add support for the Analog Devices ADP5585 GPIO
 	  expander, PWM and keypad controller. This includes the I2C driver and


-- 
Jean Delvare
SUSE L3 Support
Re: (subset) [PATCH] mfd: adp5585: Drop obsolete dependency on COMPILE_TEST
Posted by Lee Jones 3 weeks, 4 days ago
On Tue, 22 Oct 2024 12:47:45 +0200, Jean Delvare wrote:
> Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
> is possible to test-build any driver which depends on OF on any
> architecture by explicitly selecting OF. Therefore depending on
> COMPILE_TEST as an alternative is no longer needed.
> 
> 

Applied, thanks!

[1/1] mfd: adp5585: Drop obsolete dependency on COMPILE_TEST
      commit: ac16ab764455824005e06fe0b37695a6eb72b282

--
Lee Jones [李琼斯]

Re: [PATCH] mfd: adp5585: Drop obsolete dependency on COMPILE_TEST
Posted by Laurent Pinchart 1 month ago
Hi Jean,

Thank you for the patch.

On Tue, Oct 22, 2024 at 12:47:45PM +0200, Jean Delvare wrote:
> Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
> is possible to test-build any driver which depends on OF on any
> architecture by explicitly selecting OF. Therefore depending on
> COMPILE_TEST as an alternative is no longer needed.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/mfd/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-6.12-rc4.orig/drivers/mfd/Kconfig
> +++ linux-6.12-rc4/drivers/mfd/Kconfig
> @@ -25,7 +25,7 @@ config MFD_ADP5585
>  	select MFD_CORE
>  	select REGMAP_I2C
>  	depends on I2C
> -	depends on OF || COMPILE_TEST
> +	depends on OF
>  	help
>  	  Say yes here to add support for the Analog Devices ADP5585 GPIO
>  	  expander, PWM and keypad controller. This includes the I2C driver and

-- 
Regards,

Laurent Pinchart