ARM: OMAP2+: hwmod: use init-time function pointer for hardreset
authorKevin Hilman <khilman@ti.com>
Mon, 18 Jun 2012 18:12:24 +0000 (12:12 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 18 Jun 2012 18:12:24 +0000 (12:12 -0600)
commitb8249cf2d2b16de9582d3cbaa98c16c32c624d8a
tree83783e256067e22342d9bf02fba1d54db09d313b
parent8f6aa8ee114fb52a425e247e27e271ee35d7d3b3
ARM: OMAP2+: hwmod: use init-time function pointer for hardreset

Rather than using cpu_is* checking at runtime, initialize SoC specific
function pointers for the various hard reset functions at init time.

Signed-off-by: Kevin Hilman <khilman@ti.com>
[paul@pwsan.com: convert to use soc_ops function pointers; add kerneldoc]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c