clk: qcom: apss-ipq-pll: reuse Stromer reg offsets from 'clk_alpha_pll_regs'
authorGabor Juhos <j4g8y7@gmail.com>
Thu, 28 Mar 2024 09:23:10 +0000 (10:23 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sat, 27 Apr 2024 18:13:18 +0000 (13:13 -0500)
commitac3ee364a7312517edf71b1857c0f272919f2374
treebe3a08f0fdae10e6599371d10c97be8ca5c42569
parent2d52699fe3e1e97d93f5e73a57d9e40894a570de
clk: qcom: apss-ipq-pll: reuse Stromer reg offsets from 'clk_alpha_pll_regs'

The register offset array defined locally for the
CLK_ALPHA_PLL_TYPE_STROMER_PLUS is the same as the
entry defined for CLK_ALPHA_PLL_TYPE_STROMER in the
'clk_alpha_pll_regs' array.

To avoid code duplication, remove the local definition
and use the global one instead.

No functional changes.

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-1-eddbf617f0c8@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/apss-ipq-pll.c