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 <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
jmberg authored and paulusmack 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.