diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-12-11 09:25:59 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-19 07:02:35 -0500 |
commit | f91266edba3c6ef001819c5abe4c3a0643f66fc9 (patch) | |
tree | 9ca84ad4550288c3b467dea7197b935c345755d7 /drivers/macintosh/via-cuda.c | |
parent | 887ef35ae4eb269839e0f296b132edc15477db1c (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/via-cuda.c')
0 files changed, 0 insertions, 0 deletions