[PATCH 2/2] clk: mxs: don't register a clkdev for enet_out

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Oct 20 00:58:40 PDT 2016


The last user is gone in the previous commit. So this can be removed, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
 drivers/clk/mxs/clk-imx28.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c
index 6b572b759f9a..cf6b0ab9ac72 100644
--- a/drivers/clk/mxs/clk-imx28.c
+++ b/drivers/clk/mxs/clk-imx28.c
@@ -247,8 +247,6 @@ static void __init mx28_clocks_init(struct device_node *np)
 	clk_data.clk_num = ARRAY_SIZE(clks);
 	of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data);
 
-	clk_register_clkdev(clks[enet_out], NULL, "enet_out");
-
 	for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
 		clk_prepare_enable(clks[clks_init_on[i]]);
 }
-- 
2.9.3




More information about the linux-arm-kernel mailing list