From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dZekz-0003Rw-73 for barebox@lists.infradead.org; Mon, 24 Jul 2017 14:54:50 +0000 Received: by mail-pg0-x244.google.com with SMTP id v190so11970047pgv.1 for ; Mon, 24 Jul 2017 07:54:27 -0700 (PDT) From: Andrey Smirnov Date: Mon, 24 Jul 2017 07:53:53 -0700 Message-Id: <20170724145400.2279-3-andrew.smirnov@gmail.com> In-Reply-To: <20170724145400.2279-1-andrew.smirnov@gmail.com> References: <20170724145400.2279-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/9] clk: i.MX7: Remove unused UART clocks array To: barebox@lists.infradead.org Cc: Andrey Smirnov Remove what looks like unused leftover from analogous Linux kernel code. Signed-off-by: Andrey Smirnov --- 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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox