ARM: imx6q: remove unneeded clk lookups
Since commit (a94f8ec
ARM: imx6q: remove board specific CLKO setup),
a number of clk lookups in imx6q clock driver is no longer needed.
Let's remove them.
The cpu0 lookup is also removed since we are now running imx6 cpufreq
driver and looking up clocks from device tree.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
f19e1c4a0a
commit
b30c6d0180
|
@ -437,12 +437,6 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node)
|
||||||
|
|
||||||
clk_register_clkdev(clk[gpt_ipg], "ipg", "imx-gpt.0");
|
clk_register_clkdev(clk[gpt_ipg], "ipg", "imx-gpt.0");
|
||||||
clk_register_clkdev(clk[gpt_ipg_per], "per", "imx-gpt.0");
|
clk_register_clkdev(clk[gpt_ipg_per], "per", "imx-gpt.0");
|
||||||
clk_register_clkdev(clk[cko1_sel], "cko1_sel", NULL);
|
|
||||||
clk_register_clkdev(clk[ahb], "ahb", NULL);
|
|
||||||
clk_register_clkdev(clk[cko1], "cko1", NULL);
|
|
||||||
clk_register_clkdev(clk[arm], NULL, "cpu0");
|
|
||||||
clk_register_clkdev(clk[pll4_post_div], "pll4_post_div", NULL);
|
|
||||||
clk_register_clkdev(clk[pll4_audio], "pll4_audio", NULL);
|
|
||||||
|
|
||||||
if ((imx_get_soc_revision() != IMX_CHIP_REVISION_1_0) ||
|
if ((imx_get_soc_revision() != IMX_CHIP_REVISION_1_0) ||
|
||||||
cpu_is_imx6dl()) {
|
cpu_is_imx6dl()) {
|
||||||
|
|
Loading…
Reference in New Issue