clk: qcom: Consolidate common probe code
authorStephen Boyd <sboyd@codeaurora.org>
Sat, 22 Mar 2014 00:59:37 +0000 (17:59 -0700)
committerMike Turquette <mturquette@linaro.org>
Wed, 30 Apr 2014 18:51:51 +0000 (11:51 -0700)
commit49fc825f0cc221768c5711b8ec6a71bd49f2663e
tree4c358a9db39a28e9ba79d77a021a13a59637eefb
parent63589e92c2d975cc63222e5bd4a9a1fa2a1187ac
clk: qcom: Consolidate common probe code

Most of the probe code is the same between all the different
clock controllers. Consolidate the code into a common.c file.
This makes changes to the common probe parts easier and reduces
chances for bugs.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/qcom/Makefile
drivers/clk/qcom/common.c [new file with mode: 0644]
drivers/clk/qcom/common.h [new file with mode: 0644]
drivers/clk/qcom/gcc-msm8660.c
drivers/clk/qcom/gcc-msm8960.c
drivers/clk/qcom/gcc-msm8974.c
drivers/clk/qcom/mmcc-msm8960.c
drivers/clk/qcom/mmcc-msm8974.c