diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2021-12-28 07:54:06 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-02-10 18:33:30 -0600 |
commit | cf4cd3dcb79a14c95474389cd6eb6fd8c18a121b (patch) | |
tree | bf5a00ea9dd949eb3c0e84e708a57bcf5e084e98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f1697f36196e3aee1b7585610df494cef1a72393 (diff) |
clk: qcom: camcc-sdm845: 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.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211228045415.20543-8-dmitry.baryshkov@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions