ARM: OMAP3: PM: call pre/post transition per powerdomain
authorKevin Hilman <khilman@ti.com>
Fri, 11 May 2012 22:47:17 +0000 (15:47 -0700)
committerKevin Hilman <khilman@ti.com>
Mon, 25 Jun 2012 18:24:23 +0000 (11:24 -0700)
We only need to call the pre/post transtion methods when we know the
power state is changing.  First, split up the pre/post transition
calls to be per-powerdomain, and then make them conditional on whether
the power domain is actually changing states.

Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found