of/overlay: Do not generate duplicate nodes
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 16 Dec 2014 17:45:25 +0000 (19:45 +0200)
committerGrant Likely <grant.likely@linaro.org>
Thu, 22 Jan 2015 15:36:48 +0000 (15:36 +0000)
commit3e7f7626fd49a9ffba8520a1a073f62929acad63
treef0dbfa1c11170dc42a9d1e52a180921af9e0cc93
parent957c8111478369780b241b19947ed52ba89acf80
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>
drivers/of/overlay.c