summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/apm_emu.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-12-12 01:25:59 +1100
committerPaul Mackerras <paulus@samba.org>2007-12-19 23:02:35 +1100
commitf91266edba3c6ef001819c5abe4c3a0643f66fc9 (patch)
tree9ca84ad4550288c3b467dea7197b935c345755d7 /drivers/macintosh/apm_emu.c
parent887ef35ae4eb269839e0f296b132edc15477db1c (diff)
[POWERPC] powermac: Use generic suspend code
This adds platform_suspend_ops for PMU based machines, directly in the PMU driver. This allows suspending via /sys/power/state on powerbooks. The patch also replaces the PMU ioctl with a simple call to pm_suspend(PM_SUSPEND_MEM). Additionally, it cleans up some debug code. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/apm_emu.c')
0 files changed, 0 insertions, 0 deletions