aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <[email protected]>2021-10-15 17:15:57 +0200
committerKrzysztof Kozlowski <[email protected]>2022-01-27 10:41:14 +0100
commit205e17766c78c4dd8dbd1e88ac723401ec3ce5ee (patch)
tree8d47f69d4677182edc3f892d7180c8fe3ed557f5 /tools/perf/scripts/python/export-to-sqlite.py
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
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 <[email protected]> Reviewed-by: Yong Wu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions