[POWERPC] adb: Replace sleep notifier with platform driver suspend/resume hooks
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 11 Dec 2007 14:21:25 +0000 (01:21 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Dec 2007 04:00:29 +0000 (15:00 +1100)
commitc9f6d3d5c6d4f4cd3a53549a69c92951180e2a76
tree91efe11af8b64b830819f7f4fabda6a28d6b5a2b
parent9fb1e350e16164d56990dde036ae9c0a2fd3f634
[POWERPC] adb: Replace sleep notifier with platform driver suspend/resume hooks

This replaces the pmu sleep notifier that adb had with suspend/resume
hooks in a new platform driver/device.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/adb.c