diff options
author | 2023-03-28 15:15:59 -0500 | |
---|---|---|
committer | 2023-04-13 17:46:35 -0500 | |
commit | b50c788a56964a900ebcc817c8a5ad35ddad87b6 (patch) | |
tree | 979111f2e492fe935904e94bc84f7a54176544d5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | of/address: Add support for 3 address cell bus (diff) | |
download | wireguard-linux-b50c788a56964a900ebcc817c8a5ad35ddad87b6.tar.xz wireguard-linux-b50c788a56964a900ebcc817c8a5ad35ddad87b6.zip |
of/address: Add of_range_count() helper
Some users need a count of the number of ranges entries before
iterating over the entries. Typically this is for allocating some data
structure based on the size. Add a helper, of_range_count(), to get the
count. The helper must be called with an struct of_range_parser
initialized by of_range_parser_init().
Link: https://lore.kernel.org/r/20230328-dt-address-helpers-v1-4-e2456c3e77ab@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions