[PATCH 0/2] clk: qcom: move pm_clk handling to common code

Dmitry Baryshkov
2021-07-10T14:01:39Z

Several Qualcomm clock controller drivers use pm_clk functionality.
Instead of having common code in all the drivers, move the pm_clk
handling to the qcom_cc_map/qcom_cc_probe.

Note, this was compile tested only.

----------------------------------------------------------------
Dmitry Baryshkov (2):
clk: qcom: use common code for qcom_cc_probe_by_index
clk: qcom: move pm_clk functionality into common code

drivers/clk/qcom/camcc-sc7180.c | 44 ++---------
drivers/clk/qcom/common.c | 134 ++++++++++++++++++++++++++++------
drivers/clk/qcom/common.h | 6 ++
drivers/clk/qcom/lpasscorecc-sc7180.c | 56 +++-----------
drivers/clk/qcom/mss-sc7180.c | 40 ++--------
drivers/clk/qcom/q6sstop-qcs404.c | 36 ++-------
drivers/clk/qcom/turingcc-qcs404.c | 34 ++-------
7 files changed, 152 insertions(+), 198 deletions(-)