From: Rafael J. Wysocki Date: Wed, 23 Mar 2011 21:16:04 +0000 (+0100) Subject: timekeeping: Use syscore_ops instead of sysdev class and sysdev X-Git-Tag: v2.6.39-rc1~50^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1a85b2c519551d4792180cdab4074d7e99bf2c9;p=pandora-kernel.git 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 Reviewed-by: Thomas Gleixner --- Reading git-diff-tree failed