ARM: Use struct syscore_ops instead of sysdevs for PM in common code
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 22 Apr 2011 20:02:33 +0000 (22:02 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 24 Apr 2011 17:16:08 +0000 (19:16 +0200)
commit328f5cc30290a92ea3ca62b2a63d2b9ebcb0d334
tree8315a922f2fd4c4c689d2ebe3d47cd409a4ea5c3
parent5dd12af05ca6b7d052c06a9ca4ff755fdfa25ae4
ARM: Use struct syscore_ops instead of sysdevs for PM in common code

Convert some ARM architecture's common 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>
arch/arm/common/vic.c
arch/arm/include/asm/mach/time.h
arch/arm/kernel/leds.c
arch/arm/kernel/time.c
arch/arm/vfp/vfpmodule.c