PM / Runtime: Fix loops in pm_runtime_clk_notify()
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 7 Jun 2011 21:34:58 +0000 (23:34 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 7 Jun 2011 21:34:58 +0000 (23:34 +0200)
commit3b3eca3116861113ccc0e1ca3b98cb43598f46a7
tree958427e5260ec95b04faaef18b5c08249ce8dfda
parent99592ba4a80edb84938e7e0cf71fdecff1ce67fd
PM / Runtime: Fix loops in pm_runtime_clk_notify()

The loops over connection ID strings in pm_runtime_clk_notify()
should actually iterate over the strings and not over the elements
of the first of them, so make them behave as appropriate.

This fixes a regression introduced by commit 600b776eb39a13a28b090
(OMAP1 / PM: Use generic clock manipulation routines for runtime PM).

Reported-and-tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/clock_ops.c