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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Jun 2011 08:54:39 +0000 (09:54 +0100)
commit2c74a0cefa463a7a483b07ba4d2ea8e4ec7b996c
tree51fc396c9315b42448da071b40d2199fa1ff769f
parent14c79bbed7e06135bcbccb2b92c19df7115b4502
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