Skip to contentSkip to conversation

OMAP3: PM: Remove double assignments of mpu_pd, core_pd

PATCH In review Kim Kyuwon 2 participants 2 messages Mar 17, 2009

Subsystems (3)
lore
Share & tools
lore

Kim Kyuwon

author
#0 lore raw

PATCH 2/3 OMAP3: PM: Remove double assignments of mpu_pd, core_pd

mpu_pd, core_pd is already assigned at the beginning of the omap3_idle_init() function.

---
 arch/arm/mach-omap2/cpuidle34xx.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/arch/arm/mach-omap2/cpuidle34xx.c
index 5e50c46..630108c 100644

arch/arm/mach-omap2/cpuidle34xx.c +0 -2
@@ -272,8 +272,6 @@ int omap3_idle_init(void)
 		       __func__);
 		return -EIO;
 	}
-	mpu_pd = pwrdm_lookup("mpu_pwrdm");
-	core_pd = pwrdm_lookup("core_pwrdm");
 	return 0;
 }
 #endif /* CONFIG_CPU_IDLE */
Signature · 5 lines
1.5.2.5


-- 
Kyuwon
#1 lore raw
Quoted 4 lines · Kim Kyuwon

mpu_pd, core_pd is already assigned at the beginning of the omap3_idle_init() function.

Thanks, pushing to PM branch.

Kevin

Quoted 24 lines
---
 arch/arm/mach-omap2/cpuidle34xx.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/cpuidle34xx.c +0 -2
index 5e50c46..630108c 100644
@@ -272,8 +272,6 @@ int omap3_idle_init(void)
 		       __func__);
 		return -EIO;
 	}
-	mpu_pd = pwrdm_lookup("mpu_pwrdm");
-	core_pd = pwrdm_lookup("core_pwrdm");
 	return 0;
 }
 #endif /* CONFIG_CPU_IDLE */
Signature · 5 lines
1.5.2.5


-- 
Kyuwon