]> Pileus Git - ~andy/linux/commit
OMAP3: cpuidle: code rework for improved readability
authorJean Pihet <j-pihet@ti.com>
Mon, 9 May 2011 10:02:15 +0000 (12:02 +0200)
committerKevin Hilman <khilman@ti.com>
Fri, 20 May 2011 15:15:54 +0000 (17:15 +0200)
commitc6cd91de1cb4694f2dfcc7df831e276fffdffffc
tree6b91a4c6d9c310b3b7f8833ae692b9cd4da3af14
parentbadc303a862ba6c5fd3d324f5332db07877f8159
OMAP3: cpuidle: code rework for improved readability

- fix single and multi-lines comments format
- removed the omap3_idle_bm_check function and replaced the test
   in omap3_enter_idle_bm by the equivalent code
- re-organize omap3_enter_idle_bm code path, assign local variables
   only when needed
- reword some comments

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/cpuidle34xx.c