diff options
author | Dmitry Baryshkov <[email protected]> | 2022-09-28 17:56:09 +0300 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2022-09-29 11:42:12 -0500 |
commit | 994c77ed371e464ae4c1bfc316f7aff7309b2d59 (patch) | |
tree | 05472ba7a8e5b0a89d109cb03efc7064340ef8dd /tools/perf/scripts/python/intel-pt-events.py | |
parent | f565f9235a675e6eb5a105daa9b70ffa96aab715 (diff) |
clk: qcom: gcc-msm8939: 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 <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions