diff mbox

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

Message ID 4d34a0a70903170025y9256732xff9b811fa803f2b0@mail.gmail.com (mailing list archive)
State Accepted
Delegated to: Kevin Hilman
Headers show

Commit Message

kim kyuwon March 17, 2009, 7:25 a.m. UTC
mpu_pd, core_pd is already assigned at the beginning of the
omap3_idle_init() function.

Signed-off-by: Kim Kyuwon <q1.kim@samsung.com>
---
 arch/arm/mach-omap2/cpuidle34xx.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Kevin Hilman March 17, 2009, 2:53 p.m. UTC | #1
Kim Kyuwon <chammoru@gmail.com> writes:

> mpu_pd, core_pd is already assigned at the beginning of the
> omap3_idle_init() function.
>
> Signed-off-by: Kim Kyuwon <q1.kim@samsung.com>

Thanks, pushing to PM branch.

Kevin

> ---
>  arch/arm/mach-omap2/cpuidle34xx.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/cpuidle34xx.c
> b/arch/arm/mach-omap2/cpuidle34xx.c
> index 5e50c46..630108c 100644
> --- a/arch/arm/mach-omap2/cpuidle34xx.c
> +++ b/arch/arm/mach-omap2/cpuidle34xx.c
> @@ -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 */
> -- 
> 1.5.2.5
>
>
> -- 
> Kyuwon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/cpuidle34xx.c
b/arch/arm/mach-omap2/cpuidle34xx.c
index 5e50c46..630108c 100644
--- a/arch/arm/mach-omap2/cpuidle34xx.c
+++ b/arch/arm/mach-omap2/cpuidle34xx.c
@@ -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 */