commit | 713d40248bde50fba40c5bf1b5dde6d5df02cfd0 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Jan 10 20:43:49 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 11 00:00:34 2016 -0500 |
tree | eec2d3f1be60506eb4afc04136d0917de7e3f78f | |
parent | 50ee63824f5e0702da9909b989cdda96a2128afb [diff] |
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>