summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/io.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-03-04 10:53:54 +0200
committerTero Kristo <t-kristo@ti.com>2014-07-02 15:59:03 +0300
commit6a194a6e2a8fa55e133936a124ed500aea434116 (patch)
tree76d4c5f4c99c327a3f4ba68dbd192be17edfb6c0 /arch/arm/mach-omap2/io.c
parent69a1e7a1feb5bac44a5a76380768596a12a33050 (diff)
downloadop-kernel-dev-6a194a6e2a8fa55e133936a124ed500aea434116.zip
op-kernel-dev-6a194a6e2a8fa55e133936a124ed500aea434116.tar.gz
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.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index 80bf633..1271fe9 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)
OpenPOWER on IntegriCloud