diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-07-02 19:42:03 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-07-19 04:24:59 +0900 |
commit | 32726d2d5502302ba5753854f5f2f12ba22681c4 (patch) | |
tree | e432c5599c79ea3bdf7304477cdebb39e3a82c26 /arch/arm/mach-s5pv210/common.c | |
parent | f73d4cb681d2ede6d31974dde3ecce7a3ae8e8ff (diff) |
ARM: SAMSUNG: Remove legacy clock code
Since S5PV210 now has a complete clock driver using Common Clock
Framework, there is no reason to keep the old code. Remove it together
with the whole legacy Samsung-specific clock framework which no longer
has any users.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/common.c')
-rw-r--r-- | arch/arm/mach-s5pv210/common.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/arm/mach-s5pv210/common.c b/arch/arm/mach-s5pv210/common.c index 2e2202ac7173..30bd5421aa79 100644 --- a/arch/arm/mach-s5pv210/common.c +++ b/arch/arm/mach-s5pv210/common.c @@ -17,6 +17,7 @@ #include <linux/init.h> #include <linux/module.h> #include <linux/clk.h> +#include <linux/clk-provider.h> #include <linux/io.h> #include <linux/device.h> #include <clocksource/samsung_pwm.h> @@ -37,12 +38,6 @@ #include <plat/cpu.h> -#ifdef CONFIG_S5P_CLOCK -#include <plat/clock.h> -#else -#include <linux/clk-provider.h> -#endif - #include <plat/devs.h> #include <plat/sdhci.h> #include <plat/adc-core.h> @@ -239,16 +234,7 @@ void __init s5pv210_map_io(void) void __init s5pv210_init_clocks(int xtal) { -#ifdef CONFIG_S5P_CLOCK - printk(KERN_DEBUG "%s: initializing clocks\n", __func__); - - s3c24xx_register_baseclocks(xtal); - s5p_register_clocks(xtal); - s5pv210_register_clocks(); - s5pv210_setup_clocks(); -#else xusbxti_f = xtal; -#endif } void __init s5pv210_init_irq(void) |