net: ethernet: faraday: Use phy_find_first() instead of open coding it
authorGuenter Roeck <linux@roeck-us.net>
Sun, 10 Jan 2016 20:04:32 +0000 (12:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 03:05:30 +0000 (22:05 -0500)
commite574f39816f0227e3f43806952c8bc551d61770a
treebdb80ba6d0d97bd16cef3194ba17b1918922f30b
parentee64f08ea9832b8127aeb808411e350bc4463399
net: ethernet: faraday: Use phy_find_first() instead of open coding it

Use phy_find_first() to find the first phy device instead of
open coding it.

Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c