2022-10-03 21:14:30

by Stephen Boyd

[permalink] [raw]
Subject: [PATCH] clk: xilinx: Drop duplicate depends on COMMON_CLK

This entire Kconfig file is only included within the if COMMON_CLK
section of the drivers/clk/Kconfig file. That makes the depends on
COMMON_CLK here redundant. Remove it.

Cc: Shubhrajyoti Datta <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
---
drivers/clk/xilinx/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/xilinx/Kconfig b/drivers/clk/xilinx/Kconfig
index f205522c40ff..051756953558 100644
--- a/drivers/clk/xilinx/Kconfig
+++ b/drivers/clk/xilinx/Kconfig
@@ -2,7 +2,7 @@

config XILINX_VCU
tristate "Xilinx VCU logicoreIP Init"
- depends on HAS_IOMEM && COMMON_CLK
+ depends on HAS_IOMEM
select REGMAP_MMIO
help
Provides the driver to enable and disable the isolation between the
@@ -19,7 +19,7 @@ config XILINX_VCU

config COMMON_CLK_XLNX_CLKWZRD
tristate "Xilinx Clocking Wizard"
- depends on COMMON_CLK && OF
+ depends on OF
depends on HAS_IOMEM
help
Support for the Xilinx Clocking Wizard IP core clock generator.

base-commit: c00b5f204041581fadcc6d3de7f9407d2d110035
--
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git


2022-10-17 22:52:59

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: xilinx: Drop duplicate depends on COMMON_CLK

Quoting Stephen Boyd (2022-10-03 13:31:03)
> This entire Kconfig file is only included within the if COMMON_CLK
> section of the drivers/clk/Kconfig file. That makes the depends on
> COMMON_CLK here redundant. Remove it.
>
> Cc: Shubhrajyoti Datta <[email protected]>
> Signed-off-by: Stephen Boyd <[email protected]>
> ---

Applied to clk-next