summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk-imx6sx.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-05-27 11:04:46 +0200
committerShawn Guo <shawn.guo@freescale.com>2014-07-18 10:10:11 +0200
commitf4696752b1e966ea5b3a53ec088a237780612fc0 (patch)
tree40d70b9eeabc908497092fb97d8fc1ae6a6df8c3 /arch/arm/mach-imx/clk-imx6sx.c
parentARM: imx: defconfig: Select CONFIG_FHANDLE (diff)
downloadlinux-f4696752b1e966ea5b3a53ec088a237780612fc0.tar.xz
linux-f4696752b1e966ea5b3a53ec088a237780612fc0.zip
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.c3
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 72f8902235d1..5211cf61abca 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]]);