PM / PowerPC: Use struct syscore_ops instead of sysdevs for PM
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 26 Apr 2011 17:14:57 +0000 (19:14 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 May 2011 19:37:15 +0000 (21:37 +0200)
commitf5a592f7d74e38c5007876c731e6bf5580072e63
tree893e896facaf984087c950e744eb5e449c40f704
parentf98bf4aa39ecce96020631cba910be094c87ac3c
PM / PowerPC: Use struct syscore_ops instead of sysdevs for PM

Make some PowerPC architecture's code use struct syscore_ops
objects for power management instead of sysdev classes and sysdevs.

This simplifies the code and reduces the kernel's memory footprint.
It also is necessary for removing sysdevs from the kernel entirely in
the future.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/include/asm/mpic.h
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/powermac/pic.c
arch/powerpc/sysdev/ipic.c
arch/powerpc/sysdev/mpic.c