clk: move some parent related functions upwards
authorJames Hogan <james.hogan@imgtec.com>
Mon, 29 Jul 2013 11:24:59 +0000 (12:24 +0100)
committerMike Turquette <mturquette@linaro.org>
Mon, 19 Aug 2013 19:27:16 +0000 (12:27 -0700)
commit4935b22c46ea5e2dc44ef0b72db50741649eb3a4
tree116ab36456db48761bab9496714dea1f4e836403
parent7ef3dcc8145263cb5a8c7059f82d44c948eb46a8
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