]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcaff8740d8c25eb113bcb2d7c9ccc510f4d817c5
treebdb80ba6d0d97bd16cef3194ba17b1918922f30b
parentc4a3b341d60ec9a4fa1072ed13aa7e8b2646bd7e
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