diff options
author | Rob Herring | 2018-08-22 15:04:40 -0500 |
---|---|---|
committer | Rob Herring | 2018-09-28 14:25:58 -0500 |
commit | f1f207e43b8a49ac2ee3c36a64de1f84651c6079 (patch) | |
tree | 0989fbb86c45ef7635bd7a1964e2fc615a5209fc /crypto/proc.c | |
parent | f6707fd6241e483f6fea2caae82d876e422bb11a (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 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions