summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/cpuidle-tegra30.c
diff options
context:
space:
mode:
authorJoseph Lo2013-06-04 12:47:33 +0200
committerStephen Warren2013-06-05 19:44:54 +0200
commitbf91add4a0feb7a8624a1f6b3fd4d6dbe9dce1bc (patch)
tree4d884d56774156f70140aff427178ca637739e23 /arch/arm/mach-tegra/cpuidle-tegra30.c
parentARM: tegra: cpuidle: move the init function behind the suspend init function (diff)
downloadkernel-qcow2-linux-bf91add4a0feb7a8624a1f6b3fd4d6dbe9dce1bc.tar.gz
kernel-qcow2-linux-bf91add4a0feb7a8624a1f6b3fd4d6dbe9dce1bc.tar.xz
kernel-qcow2-linux-bf91add4a0feb7a8624a1f6b3fd4d6dbe9dce1bc.zip
ARM: tegra: hook tegra_tear_down_cpu function in the PM suspend init function
The tegra_tear_down_cpu was used to cut off the CPU rail for various Tegra SoCs. Hooking it in the PM suspend init function and making the CPUidle driver more generic. Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle-tegra30.c')
-rw-r--r--arch/arm/mach-tegra/cpuidle-tegra30.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/cpuidle-tegra30.c b/arch/arm/mach-tegra/cpuidle-tegra30.c
index 3cf9aca5f3ea..9d9f554115e1 100644
--- a/arch/arm/mach-tegra/cpuidle-tegra30.c
+++ b/arch/arm/mach-tegra/cpuidle-tegra30.c
@@ -146,8 +146,5 @@ static int tegra30_idle_lp2(struct cpuidle_device *dev,
int __init tegra30_cpuidle_init(void)
{
-#ifdef CONFIG_PM_SLEEP
- tegra_tear_down_cpu = tegra30_tear_down_cpu;
-#endif
return cpuidle_register(&tegra_idle_driver, NULL);
}