ARM: tegra: Clean up power gating code
Scott Williams [Thu, 1 Sep 2011 22:03:48 +0000 (15:03 -0700)]
Clean up conditionals.
Use the generic name of CELP for the LP partition.

Change-Id: Iaad7fa36b76ee6d694eca56f11dba8fad009a447
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/50357
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R06d260a102540afae03bb0684fde4efe4c144a1a

arch/arm/mach-tegra/powergate.c

index 7a439bb..857cf64 100644 (file)
@@ -153,7 +153,7 @@ static struct powergate_partition powergate_partition_info[] = {
        [TEGRA_POWERGATE_CPU1]  = { "cpu1",     {MC_CLIENT_LAST}, },
        [TEGRA_POWERGATE_CPU2]  = { "cpu2",     {MC_CLIENT_LAST}, },
        [TEGRA_POWERGATE_CPU3]  = { "cpu3",     {MC_CLIENT_LAST}, },
-       [TEGRA_POWERGATE_A9LP]  = { "a9lp",     {MC_CLIENT_LAST}, },
+       [TEGRA_POWERGATE_CELP]  = { "celp",     {MC_CLIENT_LAST}, },
        [TEGRA_POWERGATE_SATA]  = { "sata",     {MC_CLIENT_SATA, MC_CLIENT_LAST},
                                                {{"sata", CLK_AND_RST},
                                                {"sata_oob", CLK_AND_RST},