[PATCH v3 03/11] clk: i.MX7: Remove unused UART clocks array
Andrey Smirnov
andrew.smirnov at gmail.com
Fri Jul 28 07:44:19 PDT 2017
Remove what looks like unused leftover from analogous Linux kernel
code.
Acked-by: Sam Ravnborg <sam at ravnborg.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
---
drivers/clk/imx/clk-imx7.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/drivers/clk/imx/clk-imx7.c b/drivers/clk/imx/clk-imx7.c
index d3a036c0c..b79c8c301 100644
--- a/drivers/clk/imx/clk-imx7.c
+++ b/drivers/clk/imx/clk-imx7.c
@@ -364,17 +364,6 @@ static int const clks_init_on[] __initconst = {
static struct clk_onecell_data clk_data;
-static struct clk ** const uart_clks[] __initconst = {
- &clks[IMX7D_UART1_ROOT_CLK],
- &clks[IMX7D_UART2_ROOT_CLK],
- &clks[IMX7D_UART3_ROOT_CLK],
- &clks[IMX7D_UART4_ROOT_CLK],
- &clks[IMX7D_UART5_ROOT_CLK],
- &clks[IMX7D_UART6_ROOT_CLK],
- &clks[IMX7D_UART7_ROOT_CLK],
- NULL
-};
-
static int imx7_clk_initialized;
static int imx7_ccm_probe(struct device_d *dev)
--
2.13.3
More information about the barebox
mailing list