net: bfin_mac: Use phy_find_first() instead of open-coding it
authorGuenter Roeck <linux@roeck-us.net>
Mon, 11 Jan 2016 04:43:49 +0000 (20:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 05:00:34 +0000 (00:00 -0500)
commit713d40248bde50fba40c5bf1b5dde6d5df02cfd0
treeeec2d3f1be60506eb4afc04136d0917de7e3f78f
parent50ee63824f5e0702da9909b989cdda96a2128afb
net: bfin_mac: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/adi/bfin_mac.c