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>
Thu, 15 Sep 2011 18:58:55 +0000 (14:58 -0400)
commitfbc4ad1530b84f144421418b4cfeb07b60afcf06
treecd12367a84be2485210126bc5667133782e1110b
parenta84959c09a86d4efba5f40d39c43a0cdd91be923
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