net: ethernet: cpsw: Search childs for slave nodes
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 4 Oct 2013 12:44:39 +0000 (14:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Oct 2013 19:19:31 +0000 (15:19 -0400)
The current implementation searches the whole DT for nodes named
"slave".

This patch changes it to search only child nodes for slaves.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found