clk: move some parent related functions upwards
authorJames Hogan <james.hogan@imgtec.com>
Mon, 29 Jul 2013 11:24:59 +0000 (12:24 +0100)
committer黄涛 <huangtao@rock-chips.com>
Wed, 8 Jan 2014 03:03:25 +0000 (11:03 +0800)
commit56ec47cc1214e292cb47adabbde9032f18bbd004
treeb74fc40014a4596ccd869b12cf2ac3435ba4fe91
parent13cf1519d6d3564648da435991387c1ca0a21d1d
clk: move some parent related functions upwards

Move some parent related functions up in clk.c so they can be used by
the modifications in the following patch which enables clock reparenting
during set_rate. No other changes are made so this patch makes no
functional difference in isolation. This is separate from the following
patch primarily to ease readability of that patch.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c