diff options
author | 2011-03-23 22:16:04 +0100 | |
---|---|---|
committer | 2011-03-23 22:16:04 +0100 | |
commit | e1a85b2c519551d4792180cdab4074d7e99bf2c9 (patch) | |
tree | ee53aed254043d06a7e30151af6500eab3bf0407 /drivers/rtc | |
parent | x86: Use syscore_ops instead of sysdev classes and sysdevs (diff) | |
download | wireguard-linux-e1a85b2c519551d4792180cdab4074d7e99bf2c9.tar.xz wireguard-linux-e1a85b2c519551d4792180cdab4074d7e99bf2c9.zip |
timekeeping: Use syscore_ops instead of sysdev class and sysdev
The timekeeping subsystem uses a sysdev class and a sysdev for
executing timekeeping_suspend() after interrupts have been turned off
on the boot CPU (during system suspend) and for executing
timekeeping_resume() before turning on interrupts on the boot CPU
(during system resume). However, since both of these functions
ignore their arguments, the entire mechanism may be replaced with a
struct syscore_ops object which is simpler.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions