]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: OMAP3xxx: CPUIdle: simplify the PER next-state code
authorPaul Walmsley <paul@pwsan.com>
Sat, 26 Jan 2013 07:58:12 +0000 (00:58 -0700)
committerPaul Walmsley <paul@pwsan.com>
Sat, 26 Jan 2013 07:58:12 +0000 (00:58 -0700)
commitfd6b42a5614077b04ce8f34fbbcf16864723f5df
tree52ee76162cc1a1c8284f8f85e0360a13ecc07e33
parent8e1ff676ef5fd4d8be4947ffd039f2699a4b1079
ARM: OMAP3xxx: CPUIdle: simplify the PER next-state code

The OMAP3xxx CPUIdle driver contains some code to place a lower bound
on the PER powerdomain's power state.  Convert this code to a data-driven
implementation to remove branches and to improve readability.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/cpuidle34xx.c