RE: [PATCH 1/2] clk: imx93: Drop macro IMX93_CLK_END

From: Peng Fan
Date: Mon Jun 24 2024 - 22:06:50 EST


> Subject: [PATCH 1/2] clk: imx93: Drop macro IMX93_CLK_END
>
> IMX93_CLK_END was previously defined in imx93-clock.h to indicate
> the number of clocks, but it is not part of the ABI, so it should be
> dropped.
>
> Now, the driver gets the number of clks by querying the maximum
> index in the clk array. Due to the discontinuity in the definition of clk
> index, with some gaps present, the total count cannot be obtained by
> summing the array size.
>
> Signed-off-by: Pengfei Li <pengfei.li_1@xxxxxxx>

Reviewed-by: Peng Fan <peng.fan@xxxxxxx>