Re: [PATCH 1/5] clk: qcom: apss-ipq-pll: reuse Stromer reg offsets from 'clk_alpha_pll_regs'

From: Dmitry Baryshkov
Date: Mon Mar 18 2024 - 09:49:03 EST


On Mon, 18 Mar 2024 at 13:20, Gabor Juhos <j4g8y7@xxxxxxxxx> wrote:
>
> 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.
>
> Signed-off-by: Gabor Juhos <j4g8y7@xxxxxxxxx>
> ---
> Depends on the following patches:
> - "clk: qcom: apss-ipq-pll: use stromer ops for IPQ5018 to fix boot failure"
> Link: https://lore.kernel.org/r/20240315-apss-ipq-pll-ipq5018-hang-v2-1-6fe30ada2009@xxxxxxxxx
> - "clk: qcom: clk-alpha-pll: Stromer register cleanup"
> Link: https://lore.kernel.org/r/20240311-alpha-pll-stromer-cleanup-v1-0-f7c0c5607cca@xxxxxxxxx
> ---
> drivers/clk/qcom/apss-ipq-pll.c | 24 ++++++------------------
> 1 file changed, 6 insertions(+), 18 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>


--
With best wishes
Dmitry