]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit015ecc3237b346808222758116fd95b04ae0af0e
treef0dbfa1c11170dc42a9d1e52a180921af9e0cc93
parent8108490ac422a12e018afceb0d60a130ae0f6c83
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