diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-03-25 10:57:14 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-01 04:30:02 -0400 |
commit | 2efb950465e9180c3ff657a755b8a973f7b9ae42 (patch) | |
tree | 4df37150ebe557496ec75841137ec3a44c52f8bc /drivers/clk/mxs/clk-imx23.c | |
parent | 633ef4c7d18982d184242d42056c622a433d93fe (diff) |
ARM: mxs: look up timrot clock from device tree
Change call clk_get_sys() to of_clk_get() to look up timrot clock from
device tree, so that the clk_register_clkdev() call for timrot can be
saved in clock driver.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/clk/mxs/clk-imx23.c')
-rw-r--r-- | drivers/clk/mxs/clk-imx23.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c index 291cc44713f4..46ae6bebe445 100644 --- a/drivers/clk/mxs/clk-imx23.c +++ b/drivers/clk/mxs/clk-imx23.c | |||
@@ -159,8 +159,6 @@ int __init mx23_clocks_init(void) | |||
159 | of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); | 159 | of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); |
160 | } | 160 | } |
161 | 161 | ||
162 | clk_register_clkdev(clks[clk32k], NULL, "timrot"); | ||
163 | |||
164 | for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) | 162 | for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) |
165 | clk_prepare_enable(clks[clks_init_on[i]]); | 163 | clk_prepare_enable(clks[clks_init_on[i]]); |
166 | 164 | ||