Skip to content

Commit

Permalink
[POWERPC] powermac: Use generic suspend code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and Paul Mackerras committed Dec 19, 2007
1 parent 887ef35 commit f91266e
Showing 1 changed file with 173 additions and 232 deletions.
Loading

0 comments on commit f91266e

Please sign in to comment.