diff options
author | 2021-12-28 07:54:06 +0300 | |
---|---|---|
committer | 2022-02-10 18:33:30 -0600 | |
commit | cf4cd3dcb79a14c95474389cd6eb6fd8c18a121b (patch) | |
tree | bf5a00ea9dd949eb3c0e84e708a57bcf5e084e98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clk: qcom: camcc-sc7180: use parent_hws instead of parent_data (diff) | |
download | wireguard-linux-cf4cd3dcb79a14c95474389cd6eb6fd8c18a121b.tar.xz wireguard-linux-cf4cd3dcb79a14c95474389cd6eb6fd8c18a121b.zip |
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