OMAP powerdomain/PM: use symbolic constants for the max number of power states
authorPaul Walmsley <paul@pwsan.com>
Tue, 8 Dec 2009 23:33:12 +0000 (16:33 -0700)
committerpaul <paul@twilight.(none)>
Sat, 12 Dec 2009 00:00:41 +0000 (17:00 -0700)
commit2354eb5a943e64c5e6e249147381e9715aa5d54b
tree6341bf9adfb93f3a59a1476a7fc5254f24529bdd
parent6a06fa6863f190a0ed72f273a2ae5fedc89973ff
OMAP powerdomain/PM: use symbolic constants for the max number of power states

Replace some bare constants with power states.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm-debug.c
arch/arm/mach-omap2/powerdomain.c
arch/arm/plat-omap/include/plat/powerdomain.h