diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-05-27 13:04:46 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 16:10:11 +0800 |
commit | f4696752b1e966ea5b3a53ec088a237780612fc0 (patch) | |
tree | 40d70b9eeabc908497092fb97d8fc1ae6a6df8c3 /arch/arm/mach-imx/clk-imx6sx.c | |
parent | 186d28c1e057295e75bdac19562096620624f4c3 (diff) | |
download | op-kernel-dev-f4696752b1e966ea5b3a53ec088a237780612fc0.zip op-kernel-dev-f4696752b1e966ea5b3a53ec088a237780612fc0.tar.gz |
ARM: i.MX: Use of_clk_get_by_name() for timer clocks for DT case.
Use of_clk_get_by_name() for timer clocks for DT case.
This patch eliminates a lot of unneeded clk_register_clkdev()
calls for GPT.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx6sx.c')
-rw-r--r-- | arch/arm/mach-imx/clk-imx6sx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/clk-imx6sx.c b/arch/arm/mach-imx/clk-imx6sx.c index 72f8902..5211cf6 100644 --- a/arch/arm/mach-imx/clk-imx6sx.c +++ b/arch/arm/mach-imx/clk-imx6sx.c @@ -451,9 +451,6 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node) clk_data.clk_num = ARRAY_SIZE(clks); of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); - clk_register_clkdev(clks[IMX6SX_CLK_GPT_BUS], "ipg", "imx-gpt.0"); - clk_register_clkdev(clks[IMX6SX_CLK_GPT_SERIAL], "per", "imx-gpt.0"); - for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) clk_prepare_enable(clks[clks_init_on[i]]); |