On Wed, Sep 5, 2018 at 9:38 PM Rob Herring <robh@xxxxxxxxxx> wrote: > 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@xxxxxxxxx> > Signed-off-by: Rob Herring <robh@xxxxxxxxxx> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds