OMAP: PM: Add closures to clkdm_for_each and pwrdm_for_each.
commita23456e9b02b3fae0fc78cb33fad69803a50e5bc
authorPeter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Wed, 15 Oct 2008 15:13:47 +0000 (15 18:13 +0300)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 2 Sep 2009 22:08:23 +0000 (2 15:08 -0700)
treed74c8b6ed9600bc605fcd74ac4f3dfd5f6a52910
parentfe617af716bc09cbbdd11ad820d5818017a9f481
OMAP: PM: Add closures to clkdm_for_each and pwrdm_for_each.

Add some infrastructure to easily iterate over clock and power
domains.

Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/pm24xx.c
arch/arm/mach-omap2/pm34xx.c
arch/arm/plat-omap/include/mach/clockdomain.h
arch/arm/plat-omap/include/mach/powerdomain.h