arm: omap2: timer: add a gptimer argument to sync32k_timer_init()
authorFelipe Balbi <balbi@ti.com>
Tue, 29 Sep 2015 16:38:48 +0000 (11:38 -0500)
committerFelipe Balbi <balbi@ti.com>
Thu, 15 Oct 2015 21:11:39 +0000 (16:11 -0500)
as it turns out, __omap_gptimer_init() and
__omap_sync32k_timer_init() are essentially
the same thing, but __omap_gptimer_init() wants
to always use gptimer.

Instead of forcing all those devices to pass
a use_gptimer cmdline argument, we add a new
function argument to __omap_sync32k_timer_init()
in preparation to deleting __omap_gptimer_init().

On a follow-up patch, we will remove uses of
__omap_gptimer_init() and replace them with
__omap_sync32k_timer_init() and pass the last
argument as true.

Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/mach-omap2/timer.c

Simple merge