OMAP3: remove unused code from the ASM sleep code
authorJean Pihet <j-pihet@ti.com>
Sat, 18 Dec 2010 15:44:41 +0000 (16:44 +0100)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 21 Dec 2010 22:45:54 +0000 (14:45 -0800)
commitd3cdfd2a15d87d040a5f553231b979fbc28b98e7
tree1c1208e8e15a782768170766b23d9276c6141699
parentcc1b6028878646a2419b27e5f590b5e9fe01dc3d
OMAP3: remove unused code from the ASM sleep code

Remove unused code:
- macros,
- variables,
- unused semaphore locking API. This API shall be added back
  when needed,
- infinite loops for debug.

Tested on N900 and Beagleboard with full RET and OFF modes,
using cpuidle and suspend.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Tested-by: Nishanth Menon<nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm.h
arch/arm/mach-omap2/sleep34xx.S