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

Peng Fan peng.fan at nxp.com
Mon Jun 24 19:06:37 PDT 2024


> 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 at nxp.com>

Reviewed-by: Peng Fan <peng.fan at nxp.com>



More information about the linux-arm-kernel mailing list