]> git.baikalelectronics.ru Git - kernel.git/commit
of: overlay: Make node skipping in init_overlay_changeset() clearer
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 8 Dec 2017 13:13:03 +0000 (14:13 +0100)
committerRob Herring <robh@kernel.org>
Fri, 8 Dec 2017 15:32:18 +0000 (09:32 -0600)
commit2460f2fc69c07188b0bab0ef7712c6fe088743e9
tree1459754b9d9acc2ffac8525bed6691e15913c6e2
parentb3ac41b4b7131b6a5c576d30ade4fa70f1bcf2bb
of: overlay: Make node skipping in init_overlay_changeset() clearer

Make it more clear that nodes without "__overlay__" subnodes are
skipped, by reverting the logic and using continue.
This also reduces indentation level.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/overlay.c