diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-03-04 09:53:54 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2014-07-02 14:59:03 +0200 |
commit | 6a194a6e2a8fa55e133936a124ed500aea434116 (patch) | |
tree | 76d4c5f4c99c327a3f4ba68dbd192be17edfb6c0 /arch/arm/mach-omap2/io.c | |
parent | ARM: OMAP2: clock: use DT clock boot if available (diff) | |
download | linux-6a194a6e2a8fa55e133936a124ed500aea434116.tar.xz linux-6a194a6e2a8fa55e133936a124ed500aea434116.zip |
ARM: OMAP24xx: clock: remove legacy clock data
This is no longer needed as clock data is provided through DT.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 80bf63359c24..1271fe902ca8 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c @@ -411,12 +411,8 @@ void __init omap2420_init_early(void) omap242x_clockdomains_init(); omap2420_hwmod_init(); omap_hwmod_init_postsetup(); - if (of_have_populated_dt()) { - omap_clk_soc_init = omap2420_dt_clk_init; - rate_table = omap2420_rate_table; - } else { - omap_clk_soc_init = omap2420_clk_init; - } + omap_clk_soc_init = omap2420_dt_clk_init; + rate_table = omap2420_rate_table; } void __init omap2420_init_late(void) @@ -445,12 +441,8 @@ void __init omap2430_init_early(void) omap243x_clockdomains_init(); omap2430_hwmod_init(); omap_hwmod_init_postsetup(); - if (of_have_populated_dt()) { - omap_clk_soc_init = omap2430_dt_clk_init; - rate_table = omap2430_rate_table; - } else { - omap_clk_soc_init = omap2430_clk_init; - } + omap_clk_soc_init = omap2430_dt_clk_init; + rate_table = omap2430_rate_table; } void __init omap2430_init_late(void) |