PM / Blackfin: Use struct syscore_ops instead of sysdevs for PM
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 22 Apr 2011 20:03:31 +0000 (22:03 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 24 Apr 2011 17:16:10 +0000 (19:16 +0200)
commit67f9cbf9affe39f67cd3f1d2e2a2a43089d9ab3a
treed479513a2e0cd15c6881d2504eeb4ec26799cec4
parentbb072c3cf21d1c9a5a2eeb5a00679ee7bf39675b
PM / Blackfin: Use struct syscore_ops instead of sysdevs for PM

Convert some Blackfin architecture's code to using 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>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/nmi.c