diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-06-23 15:04:06 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-09-14 05:58:34 +0300 |
commit | d247abe67bd1a819b87f08fe673081ce5f1fd529 (patch) | |
tree | bdd6538462b0846057a9a568d0bd71f2e7a003e8 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 861466d4fbdaa7d5256a116ee2756422a764c938 (diff) | |
download | linux-d247abe67bd1a819b87f08fe673081ce5f1fd529.tar.xz |
clk: qcom: gcc-msm8960: 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>
Tested-by: David Heidelberg <david@ixit.cz> # tested on Nexus 7 (2013)
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220623120418.250589-4-dmitry.baryshkov@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions