ARM: pm: hide 1st and 2nd arguments to cpu_suspend from platform code
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Jun 2011 16:41:48 +0000 (17:41 +0100)
committerJason Kridner <jdk@ti.com>
Sat, 17 Sep 2011 13:14:12 +0000 (09:14 -0400)
commit732a2ec3cd65683c51e5af61aae5ee2037dcd78a
tree9af26d0619a69cb691c5d0c73345081d1f7b8abb
parentcdaaf305be8d8269c7085ee96bea4e9eb0955495
ARM: pm: hide 1st and 2nd arguments to cpu_suspend from platform code

The first and second arguments shouldn't concern platform code, so
hide them from each platforms caller.

Tested-by: Kevin Hilman <khilman@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/suspend.h [new file with mode: 0644]
arch/arm/include/asm/system.h
arch/arm/kernel/sleep.S
arch/arm/mach-omap2/pm34xx.c
arch/arm/mach-pxa/palmz72.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/zeus.c
arch/arm/mach-sa1100/pm.c
arch/arm/plat-samsung/pm.c