clk: s2mps11: merge two for loops in one
authorAndi Shyti <andi.shyti@samsung.com>
Wed, 20 Jan 2016 10:14:21 +0000 (19:14 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 29 Jan 2016 20:46:06 +0000 (12:46 -0800)
commit26adc5fa276f7cfafda47d27849e6c1c3bff5aba
tree8194c237d96c72cfd61f470580aa7130bc3fa3db
parent50359819794b4a16ae35051cd80f2dab025f6019
clk: s2mps11: merge two for loops in one

The driver already loops once, there is no reason to loop again
for a different purpose. Merge the second loop into the first.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-s2mps11.c