[POWERPC] powermac: disallow pmu sleep notifiers from aborting sleep
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 19 Mar 2007 10:53:55 +0000 (11:53 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 26 Mar 2007 02:35:17 +0000 (12:35 +1000)
commit70b52b3869a31aab85241a1f998f9943a3905637
tree3c6944c5545c206cc43b8c20f1b9fe150b7ac0e9
parent17e638bc28f2fdc9c0d3eebfb80fce43827b8d12
[POWERPC] powermac: disallow pmu sleep notifiers from aborting sleep

Tracing through the code, no current PMU sleep notifier can abort sleep.
Since no new PMU sleep notifiers should be added, this patch simplifies the
code and removes the ability to abort sleep.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/adb.c
drivers/macintosh/apm_emu.c
drivers/macintosh/via-pmu-led.c
drivers/macintosh/via-pmu.c
include/linux/pmu.h
sound/oss/dmasound/dmasound_awacs.c