diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-04-22 22:02:33 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-04-24 19:16:08 +0200 |
commit | 328f5cc30290a92ea3ca62b2a63d2b9ebcb0d334 (patch) | |
tree | 8315a922f2fd4c4c689d2ebe3d47cd409a4ea5c3 /arch/arm/include/asm/mach | |
parent | 5dd12af05ca6b7d052c06a9ca4ff755fdfa25ae4 (diff) | |
download | linux-328f5cc30290a92ea3ca62b2a63d2b9ebcb0d334.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/include/asm/mach')
-rw-r--r-- | arch/arm/include/asm/mach/time.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach/time.h b/arch/arm/include/asm/mach/time.h index 883f6be5117a..d5adaae5ee2c 100644 --- a/arch/arm/include/asm/mach/time.h +++ b/arch/arm/include/asm/mach/time.h @@ -34,7 +34,6 @@ * timer interrupt which may be pending. */ struct sys_timer { - struct sys_device dev; void (*init)(void); void (*suspend)(void); void (*resume)(void); |