commit | e574f39816f0227e3f43806952c8bc551d61770a | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Jan 10 12:04:32 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 10 22:05:30 2016 -0500 |
tree | bdb80ba6d0d97bd16cef3194ba17b1918922f30b | |
parent | ee64f08ea9832b8127aeb808411e350bc4463399 [diff] |
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>