[ARM] 3228/1: SharpSL: Move PM code to arch/arm/common
authorRichard Purdie <rpurdie@rpsys.net>
Thu, 5 Jan 2006 20:44:55 +0000 (20:44 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 5 Jan 2006 20:44:55 +0000 (20:44 +0000)
commitb7557de41a04346cb545d4dda7088760cb96e713
treedf9acef34fdf1460858ed39b35d447f6bfdc95d1
parent3125c68d70e3433c21234431a9df9e7336efa29f
[ARM] 3228/1: SharpSL: Move PM code to arch/arm/common

Patch from Richard Purdie

This patch moves a large chunk of the sharpsl_pm driver to
arch/arm/common so that it can be reused on other devices such as the
SL-5500 (collie). It also abstracts some functions from the core into
the machine and platform specific parts of the driver to aid reuse.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/Kconfig
arch/arm/common/Makefile
arch/arm/common/sharpsl_pm.c [new file with mode: 0644]
arch/arm/mach-pxa/Kconfig
arch/arm/mach-pxa/corgi_pm.c
arch/arm/mach-pxa/sharpsl.h
arch/arm/mach-pxa/sharpsl_pm.c
arch/arm/mach-pxa/spitz_pm.c
drivers/video/backlight/corgi_bl.c
include/asm-arm/hardware/sharpsl_pm.h [new file with mode: 0644]