aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorRob Herring2018-08-22 15:04:40 -0500
committerRob Herring2018-09-28 14:25:58 -0500
commitf1f207e43b8a49ac2ee3c36a64de1f84651c6079 (patch)
tree0989fbb86c45ef7635bd7a1964e2fc615a5209fc /samples
parentf6707fd6241e483f6fea2caae82d876e422bb11a (diff)
of: Add cpu node iterator for_each_of_cpu_node()
Iterating thru cpu nodes is a common pattern. Create a common iterator which can find child nodes either by node name or device_type == cpu. Using the former will allow for eventually dropping device_type properties which are deprecated for FDT. Cc: Frank Rowand <frowand.list@gmail.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions