clk: samsung: fix pm init on non-dt platforms
authorHeiko Stueber <heiko@sntech.de>
Mon, 18 Mar 2013 04:43:52 +0000 (13:43 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 28 Mar 2013 05:46:18 +0000 (14:46 +0900)
commit2466196d3e4f1fbe902ca8480bf4a03db78572b2
tree7c63d1b18efbd2e9b2d1cc0a50d22212cfeffacd
parent798ed613f5db7f61a7773412b9a6bc3d37d17ecb
clk: samsung: fix pm init on non-dt platforms

The clock_init function checked for a dt node, returning immediately
for non-dt machines. This let to the suspend init never being reached
on those non-DT machines.

So fix this by moving the pm init code above the check.

Signed-off-by: Heiko Stueber <heiko@sntech.de>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/clk/samsung/clk.c