[PATCH] memory: mtk-smi: Use ARRAY_SIZE to define MTK_SMI_CLK_NR_MAX

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Mon Nov 15 06:10:24 PST 2021


On Fri, 15 Oct 2021 17:15:57 +0200, AngeloGioacchino Del Regno wrote:
> This definition is tied to the number of SMI common clocks (the array
> mtk_smi_common_clks): improve the definition by using the ARRAY_SIZE
> macro instead. That will also reduce room for mistakes when updating
> the aforementioned array in the future.
> 
> 

Applied, thanks!

[1/1] memory: mtk-smi: Use ARRAY_SIZE to define MTK_SMI_CLK_NR_MAX
      commit: 3191e91ae15b60e69523578975bf5c6326ce1be4

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>



More information about the linux-arm-kernel mailing list