ARM: at91: convert timer suspend/resume to clock_event_device
authorStephen Warren <swarren@nvidia.com>
Wed, 7 Nov 2012 23:32:41 +0000 (16:32 -0700)
committerStephen Warren <swarren@nvidia.com>
Mon, 24 Dec 2012 16:36:35 +0000 (09:36 -0700)
commit49356ae94c8238eb3945244f4e5a0a263eafba24
treecac5332bbe41903451091d43fa3fca82b7faf5a7
parent23c197b77f9553c30f9c8a5ab41279a35f135f37
ARM: at91: convert timer suspend/resume to clock_event_device

Move at91's timer suspend/resume functions from struct sys_timer
at91sam926x_timer into struct clock_event_device pit_clkevt. This
will allow the sys_timer suspend/resume fields to be removed, and
eventually lead to a complete removal of struct sys_timer.

Cc: Andrew Victor <linux@maxim.org.za>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-at91/at91sam926x_time.c