net: lantiq_etop.c: Use helper to find first phy
authorAndrew Lunn <andrew@lunn.ch>
Thu, 7 Jan 2016 20:55:51 +0000 (21:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Jan 2016 23:03:47 +0000 (18:03 -0500)
commit2a4fc4ea29fbe4c59cf67d73cca309d9fe7e1fa5
tree93f2566cea0128865d930dbbe543bc06e7d0021d
parent6c672c9bf44e718ccc8bb137032a57070980bb4e
net: lantiq_etop.c: Use helper to find first phy

Make use of the helper to find the first phy device.
This also fixes the compile breakage.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_etop.c