]> git.baikalelectronics.ru Git - kernel.git/commit
net: dnet: Use phy_find_first() helper
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:11 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:25 +0000 (14:31 -0500)
commit1752669462d82cb1c7a49e90a87a55870402972a
tree5941a47f26fff38a6b4b04937689b3e281e0cb22
parent625a3a00ca6b4e23fca900f2501ea4155a004e13
net: dnet: Use phy_find_first() helper

Replace the open coded search for the first phy with a call to the
existing helper function.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dnet.c