of/overlay: Do not generate duplicate nodes
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 16 Dec 2014 17:45:25 +0000 (19:45 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 17 Feb 2015 02:56:14 +0000 (11:56 +0900)
commit5e3b95753e328dc2468e2865cbe6ec93a87594ca
tree35501ab10d2ccf5cd0f2c13d08fc27bc7ff9a295
parent0327df42b40c24073ecd7fb2b81e1511f2f1412d
of/overlay: Do not generate duplicate nodes

During the course of the rewrites a bug sneaked in when dealing
with children nodes of overlays, which ends up duplicating
sub nodes.

Simply remove the duplicate traversal of child nodes to fix.

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
(cherry picked from commit 3e7f7626fd49a9ffba8520a1a073f62929acad63)
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/of/overlay.c