diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-06-04 12:47:35 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-06-05 19:44:58 +0200 |
commit | 8f6a0b6528820f9efec36e5843181cc178fa9de8 (patch) | |
tree | e04e27b94a7ab2f452ff0e66ee0cfe71ac097600 /arch/arm/mach-tegra/pm.h | |
parent | ARM: tegra: cpuidle: using IS_ENABLED for multi SoCs management in init func (diff) | |
download | linux-8f6a0b6528820f9efec36e5843181cc178fa9de8.tar.xz linux-8f6a0b6528820f9efec36e5843181cc178fa9de8.zip |
ARM: tegra: don't pass CPU ID to tegra_{set,clear}_cpu_in_lp2
tegra_{set,clear}_cpu_in_lp2 can easily determine which CPU ID they are
running on; there is no need to pass the CPU ID into those functions.
So, remove their CPU ID function parameter.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pm.h')
-rw-r--r-- | arch/arm/mach-tegra/pm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h index 778a4aa7c3fa..94c4b9d9077c 100644 --- a/arch/arm/mach-tegra/pm.h +++ b/arch/arm/mach-tegra/pm.h @@ -28,8 +28,8 @@ extern unsigned long l2x0_saved_regs_addr; void save_cpu_arch_register(void); void restore_cpu_arch_register(void); -void tegra_clear_cpu_in_lp2(int phy_cpu_id); -bool tegra_set_cpu_in_lp2(int phy_cpu_id); +void tegra_clear_cpu_in_lp2(void); +bool tegra_set_cpu_in_lp2(void); void tegra_idle_lp2_last(void); extern void (*tegra_tear_down_cpu)(void); |