ARM: OMAP2+: SmartReflex: introduce a busy loop condition test macro
authorJean Pihet <j-pihet@ti.com>
Tue, 24 Apr 2012 05:26:40 +0000 (10:56 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 31 May 2012 23:03:44 +0000 (16:03 -0700)
commit50e4a7d0b26c86628300edf4625cc5ff16a7a227
tree80e493531abd6e27886a2a53fb0192c769168761
parent1fcd3069d4944ad0532f41fbc4957ba24552a92f
ARM: OMAP2+: SmartReflex: introduce a busy loop condition test macro

Now that omap_test_timeout is only accessible from mach-omap2/,
introduce a similar function for SR.

This change makes the SmartReflex implementation ready for the move
to drivers/.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c
include/linux/power/smartreflex.h