]> 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)
commitecdbeef3c7f434b309561cb2095a7a8753b95966
treebdb80ba6d0d97bd16cef3194ba17b1918922f30b
parent49e5d7c7831123a6602679829ef9b1a650cc1204
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