Re: [PATCH 4/6] ARM: OMAP2+: hwmod: use init-time function pointer for wait_target_ready

2012-04-30 Thread Paul Walmsley
if you have any comments. - Paul From: Kevin Hilman khil...@ti.com Date: Fri, 27 Apr 2012 13:05:38 -0700 Subject: [PATCH 4/6] ARM: OMAP2+: hwmod: use init-time function pointer for wait_target_ready Rather than using cpu_is* checking at runtime, initialize an SoC specific function pointer

[PATCH 4/6] ARM: OMAP2+: hwmod: use init-time function pointer for wait_target_ready

2012-04-27 Thread Kevin Hilman
Rather than using cpu_is* checking at runtime, initialize an SoC specific function pointer for wait_target_ready(). While here, downgrade the BUG() to a WARN_ON() so it gives a noisy warning instead of causing a kernel panic. Signed-off-by: Kevin Hilman khil...@ti.com ---