diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-12-17 05:13:28 +0100 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-21 00:55:07 +0100 |
commit | 460863ac23097dde81f101231595518821344a9a (patch) | |
tree | b8f42df7c1e9b445c951c9cc808269fce12a62f3 /arch/arm/mach-s5pv210/common.c | |
parent | ARM: OMAP: convert idle handlers from pm_idle to arm_pm_idle (diff) | |
download | linux-460863ac23097dde81f101231595518821344a9a.tar.xz linux-460863ac23097dde81f101231595518821344a9a.zip |
ARM: mach-s5pv210: use standard arch_idle()
This is equivalent and more similar to existing architectures.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/mach-s5pv210/common.c')
-rw-r--r-- | arch/arm/mach-s5pv210/common.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-s5pv210/common.c b/arch/arm/mach-s5pv210/common.c index 9c1bcdcc12c3..4c9e9027df9a 100644 --- a/arch/arm/mach-s5pv210/common.c +++ b/arch/arm/mach-s5pv210/common.c @@ -142,14 +142,6 @@ static struct map_desc s5pv210_iodesc[] __initdata = { } }; -static void s5pv210_idle(void) -{ - if (!need_resched()) - cpu_do_idle(); - - local_irq_enable(); -} - void s5pv210_restart(char mode, const char *cmd) { __raw_writel(0x1, S5P_SWRESET); @@ -247,10 +239,6 @@ core_initcall(s5pv210_core_init); int __init s5pv210_init(void) { printk(KERN_INFO "S5PV210: Initializing architecture\n"); - - /* set idle function */ - pm_idle = s5pv210_idle; - return device_register(&s5pv210_dev); } |