summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-l7200
diff options
context:
space:
mode:
authorJean Pihet <j-pihet@ti.com>2011-05-09 12:02:14 +0200
committerKevin Hilman <khilman@ti.com>2011-05-20 17:15:53 +0200
commitbadc303a862ba6c5fd3d324f5332db07877f8159 (patch)
treecc6fead2e9a18924b85a56d68b7fcd63f744cac4 /arch/arm/mach-l7200
parentOMAP3: clean-up mach specific cpuidle data structures (diff)
downloadlinux-badc303a862ba6c5fd3d324f5332db07877f8159.tar.xz
linux-badc303a862ba6c5fd3d324f5332db07877f8159.zip
OMAP3: cpuidle: re-organize the C-states data
The current implementation defines an internal structure and a C-states array. Using those structures is redundant to the structs used by the cpuidle framework. This patch provides a clean-up of the internal struct, removes the internal C-states array, stores the data using the existing cpuidle per C-state struct and registers the mach specific data to cpuidle C-state driver_data (accessed using cpuidle_[gs]et_statedata). Also removes unused macros, fields and code and compacts the repeating code using an inline helper function. The result is more compact and more readable code as well as reduced data RAM usage. Also retain C1 as the only always valid C-state and system safe state. Signed-off-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-l7200')
0 files changed, 0 insertions, 0 deletions