ARM: OMAP2+: Clean up omap4_local_timer_init
authorTony Lindgren <tony@atomide.com>
Wed, 3 Jun 2015 22:26:20 +0000 (15:26 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Jul 2015 06:50:35 +0000 (23:50 -0700)
commitd1dabab2841d546f8b946b4940fc63c15e35a739
tree34f4ecbe3de842638af2103300b398eb31b5809a
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ARM: OMAP2+: Clean up omap4_local_timer_init

Inspired by a patch from Felipe Balbi <balbi@ti.com>, we can
now get rid of most the code in omap4_local_timer_init.

Omap4 is now device tree only.. And we have not properly supported
omap4 ES1.0 revision for a really long time AFAIK.

Let's just remove all that code to simplify things. This assumes
we have arm,cortex-a9-twd-timer entry in the omap4.dtsi file, which
we do.

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