commit | f91266edba3c6ef001819c5abe4c3a0643f66fc9 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Wed Dec 12 01:25:59 2007 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Wed Dec 19 23:02:35 2007 +1100 |
tree | 9ca84ad4550288c3b467dea7197b935c345755d7 | |
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>