]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7dd41072996ad919697071f558635fc37d443f1c
tree8315a922f2fd4c4c689d2ebe3d47cd409a4ea5c3
parent1f8bd30da6458ec0d3a151b7eaa737238e04a2a1
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