Revert "Prevent NUll pointer dereference with two PHYs on cpsw"
authorAndrew Goodbody <andrew.goodbody@cambrionix.com>
Wed, 20 Apr 2016 15:14:51 +0000 (16:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2016 16:01:36 +0000 (12:01 -0400)
commitdf637193906a6b645d8678c748149a71852e63e9
treedd816b84d2d1726079c5a14cf76711e45bb6050b
parent9c995cc9a206a008699da82f6cd01e9b2615649a
Revert "Prevent NUll pointer dereference with two PHYs on cpsw"

This reverts commit cfe255600154f0072d4a8695590dbd194dfd1aeb

This can result in a "Unable to handle kernel paging request"
during boot. This was due to using an uninitialised struct member,
data->slaves.

Signed-off-by: Andrew Goodbody <andrew.goodbody@cambrionix.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c