From: Johannes Berg Date: Tue, 11 Dec 2007 14:25:59 +0000 (+1100) Subject: [POWERPC] powermac: Use generic suspend code X-Git-Tag: v2.6.25-rc1~1131^2~276 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f91266edba3c6ef001819c5abe4c3a0643f66fc9;p=pandora-kernel.git [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 Cc: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed