Searched hist:"205 e1776" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/memory/ |
H A D | mtk-smi.c | 205e1776 Fri Oct 15 10:15:57 CDT 2021 AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> memory: mtk-smi: Use ARRAY_SIZE to define MTK_SMI_CLK_NR_MAX
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.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Yong Wu <yong.wu@mediatek.com> Link: https://lore.kernel.org/r/20211015151557.510726-1-angelogioacchino.delregno@collabora.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
|