ARM: OMAP2+: powerdomain: pwrdm_for_each_clkdm iterate only valid clkdms
authorNishanth Menon <nm@ti.com>
Sat, 7 Jun 2014 00:36:41 +0000 (19:36 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 8 Sep 2014 16:22:41 +0000 (11:22 -0500)
commit13bbffd4ebca57dfae59a3f13ff98dc417f89b23
tree52147524cf4cc69e708c3ee21849f22e4da32f48
parent9f5dc91b691cf296c49aedf0a671fd659a70f737
ARM: OMAP2+: powerdomain: pwrdm_for_each_clkdm iterate only valid clkdms

No need to invoke callback when the clkdm pointer is NULL.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/powerdomain.c