ARM: OMAP: convert idle handlers from pm_idle to arm_pm_idle
Signed-off-by: Nicolas Pitre <nico@linaro.org> Tested-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:

committed by
Nicolas Pitre

parent
4fa20439a8
commit
0bcd24b0f4
@@ -232,7 +232,6 @@ static int omap2_can_sleep(void)
|
||||
|
||||
static void omap2_pm_idle(void)
|
||||
{
|
||||
local_irq_disable();
|
||||
local_fiq_disable();
|
||||
|
||||
if (!omap2_can_sleep()) {
|
||||
@@ -249,7 +248,6 @@ static void omap2_pm_idle(void)
|
||||
|
||||
out:
|
||||
local_fiq_enable();
|
||||
local_irq_enable();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SUSPEND
|
||||
@@ -468,7 +466,7 @@ static int __init omap2_pm_init(void)
|
||||
}
|
||||
|
||||
suspend_set_ops(&omap_pm_ops);
|
||||
pm_idle = omap2_pm_idle;
|
||||
arm_pm_idle = omap2_pm_idle;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user