diff options
author | Dmitry Baryshkov <[email protected]> | 2023-01-11 08:03:58 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-01-18 18:27:35 -0600 |
commit | 891feb0bd0bf028f2fd1319dd1ebbbcc76eb5dfd (patch) | |
tree | 37e9eba57ef2ea5e461fba631012e9810062821c /tools/perf/scripts/python/mem-phys-addr.py | |
parent | cc0269b7604ef193cc5b230b86713baf1ce13a26 (diff) |
clk: qcom: mmcc-apq8084: use ARRAY_SIZE instead of specifying num_parents
Use ARRAY_SIZE() instead of manually specifying num_parents. This makes
adding/removing entries to/from parent_data easy and errorproof.
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions