diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-04-02 03:20:50 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-04-03 22:45:42 +0200 |
commit | 4d82d0587b4a964ea3a7c73aa044b433000527dd (patch) | |
tree | 25e73400bbd45f02b313227a3355fa735a142722 /arch/arm/mach-tegra/cpuidle-tegra20.c | |
parent | ARM: tegra: pm: add platform suspend support (diff) | |
download | linux-4d82d0587b4a964ea3a7c73aa044b433000527dd.tar.xz linux-4d82d0587b4a964ea3a7c73aa044b433000527dd.zip |
ARM: tegra: cpuidle: remove redundant parameters for powered-down mode
After the patch series for system suspending support, tegra_idle_lp2_last()
no longer uses its parameters cpu_on_time or cpu_off_time, so remove them.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle-tegra20.c')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle-tegra20.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/cpuidle-tegra20.c b/arch/arm/mach-tegra/cpuidle-tegra20.c index 825ced4f7a40..8bbbdebed882 100644 --- a/arch/arm/mach-tegra/cpuidle-tegra20.c +++ b/arch/arm/mach-tegra/cpuidle-tegra20.c @@ -130,10 +130,6 @@ static bool tegra20_cpu_cluster_power_down(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) { - struct cpuidle_state *state = &drv->states[index]; - u32 cpu_on_time = state->exit_latency; - u32 cpu_off_time = state->target_residency - state->exit_latency; - while (tegra20_cpu_is_resettable_soon()) cpu_relax(); @@ -142,7 +138,7 @@ static bool tegra20_cpu_cluster_power_down(struct cpuidle_device *dev, clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &dev->cpu); - tegra_idle_lp2_last(cpu_on_time, cpu_off_time); + tegra_idle_lp2_last(); clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &dev->cpu); |