clk: move some parent related functions upwards
authorJames Hogan <james.hogan@imgtec.com>
Mon, 29 Jul 2013 11:24:59 +0000 (12:24 +0100)
committerNitin Garg <nitin.garg@freescale.com>
Wed, 16 Apr 2014 13:57:42 +0000 (08:57 -0500)
commitfe861db2f6daf929cca5673c4524f3d78edc8fb5
tree73c9ef7bd7f921d9de84acce082d0f88d71da138
parent3453bdb294d7ef5f43ab7c1e2a93b6d61aeb4d32
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>
Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/clk/clk.c