clk: qcom: clk-cbf-8996: use HUAYRA_APSS register map for cbf_pll
authorGabor Juhos <j4g8y7@gmail.com>
Thu, 28 Mar 2024 09:23:14 +0000 (10:23 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sat, 27 Apr 2024 18:13:18 +0000 (13:13 -0500)
commitf3574392290d37647821d40f89136177b28e5f34
tree7acc72da42cde884fe85f59b3e1fbf1616b6696a
parent4a941e436432104ce5ed75bf8c5ba2c8463b089c
clk: qcom: clk-cbf-8996: use HUAYRA_APSS register map for cbf_pll

The register map used for 'cbf_pll' is the same as the one defined for
the CLK_ALPHA_PLL_TYPE_HUAYRA_APSS indice in the 'clk_alpha_pll_regs'
array.

Drop the local register map and use the global one instead to reduce
code duplication.

No functional changes intended. Compile tested only.

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Link: https://lore.kernel.org/r/20240328-apss-ipq-pll-cleanup-v4-5-eddbf617f0c8@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-cbf-8996.c