clk: move clk_disable_unused after clk_core_disable_unprepare function
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 30 Jun 2016 09:31:12 +0000 (17:31 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 2 Jul 2016 00:40:20 +0000 (17:40 -0700)
commit7ec986efed0208ca5fdfc26f9fc19c1604d3d502
treebc83711926ce8c9052a58a67e56ae391bd127955
parenta6adc30ba7bef8da62a32c884609eb9cace04fbc
clk: move clk_disable_unused after clk_core_disable_unprepare function

No function level change, just moving code place.
clk_disable_unused function will need to call clk_core_prepare_enable/
clk_core_disable_unprepare when adding CLK_OPS_PARENT_ENABLE features.
So move it after clk_core_disable_unprepare to avoid adding forward
declared functions later.

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c