[PATCH] soc: ep93xx: drop reference to removed EP93XX_SOC_COMMON config

Lukas Bulwahn posted 1 patch 2 months ago
drivers/soc/cirrus/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] soc: ep93xx: drop reference to removed EP93XX_SOC_COMMON config
Posted by Lukas Bulwahn 2 months ago
From: Lukas Bulwahn <lukas.bulwahn@redhat.com>

Commit 6eab0ce6e1c6 ("soc: Add SoC driver for Cirrus ep93xx") adds the
config EP93XX_SOC referring to the config EP93XX_SOC_COMMON.

Within the same patch series of the commit above, the commit 046322f1e1d9
("ARM: ep93xx: DT for the Cirrus ep93xx SoC platforms") then removes the
config EP93XX_SOC_COMMON. With that the reference to this config is
obsolete.

Simplify the expression in the EP93XX_SOC config definition.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
---
 drivers/soc/cirrus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/cirrus/Kconfig b/drivers/soc/cirrus/Kconfig
index f2fd0e16a196..d8b3b1e68998 100644
--- a/drivers/soc/cirrus/Kconfig
+++ b/drivers/soc/cirrus/Kconfig
@@ -6,7 +6,7 @@ config EP93XX_SOC
 	bool "Cirrus EP93xx chips SoC"
 	select SOC_BUS
 	select AUXILIARY_BUS
-	default y if !EP93XX_SOC_COMMON
+	default y
 	help
 	  Enable support SoC for Cirrus EP93xx chips.
 
-- 
2.46.1
Re: [PATCH] soc: ep93xx: drop reference to removed EP93XX_SOC_COMMON config
Posted by Nikita Shubin 2 months ago
Hi Lukas!

Thank you for catching this!

Reviewed-by: Nikita Shubin <nikita.shubin@maquefel.me>

On Tue, 2024-09-24 at 11:24 +0200, Lukas Bulwahn wrote:
> From: Lukas Bulwahn <lukas.bulwahn@redhat.com>
> 
> Commit 6eab0ce6e1c6 ("soc: Add SoC driver for Cirrus ep93xx") adds
> the
> config EP93XX_SOC referring to the config EP93XX_SOC_COMMON.
> 
> Within the same patch series of the commit above, the commit
> 046322f1e1d9
> ("ARM: ep93xx: DT for the Cirrus ep93xx SoC platforms") then removes
> the
> config EP93XX_SOC_COMMON. With that the reference to this config is
> obsolete.
> 
> Simplify the expression in the EP93XX_SOC config definition.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
> ---
>  drivers/soc/cirrus/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/cirrus/Kconfig b/drivers/soc/cirrus/Kconfig
> index f2fd0e16a196..d8b3b1e68998 100644
> --- a/drivers/soc/cirrus/Kconfig
> +++ b/drivers/soc/cirrus/Kconfig
> @@ -6,7 +6,7 @@ config EP93XX_SOC
>         bool "Cirrus EP93xx chips SoC"
>         select SOC_BUS
>         select AUXILIARY_BUS
> -       default y if !EP93XX_SOC_COMMON
> +       default y
>         help
>           Enable support SoC for Cirrus EP93xx chips.
>