aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-28 15:15:59 -0500
committerRob Herring <[email protected]>2023-04-13 17:46:35 -0500
commitb50c788a56964a900ebcc817c8a5ad35ddad87b6 (patch)
tree979111f2e492fe935904e94bc84f7a54176544d5 /arch/sparc
parent3d5089c4263d3594dc055e0f9c5cb990505cdd64 (diff)
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/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions