omap2+: Use dmtimer macros for clockevent
authorTony Lindgren <tony@atomide.com>
Tue, 29 Mar 2011 22:54:48 +0000 (15:54 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 20 Jun 2011 08:25:39 +0000 (01:25 -0700)
commitaa56188998942dfd1d6d85484c87f79268508bba
treea1c6b9a3013cf54a161fb2a6340f40b2e49e2e82
parentcaf64f2fdc48472995d40656eb1a75524c464447
omap2+: Use dmtimer macros for clockevent

This patch makes timer-gp.c to use only a subset of dmtimer
functions without the need to initialize dmtimer code early.

Also note that now with the inline functions, timer_set_next_event
becomes more efficient in the lines of assembly code.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/timer-gp.c
arch/arm/plat-omap/include/plat/dmtimer.h