net: phy: expose phy_aneg_done API for use by drivers
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 10 Nov 2016 23:10:46 +0000 (17:10 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Nov 2016 05:56:26 +0000 (00:56 -0500)
commit372788f964c95a6fa0f677c43d6153c27896ef42
treef918ac9bdca4dfbacb15fc79cbde7877b72807e8
parent5ab1dcd58597c04f6d50980c3d5f3c2518301b31
net: phy: expose phy_aneg_done API for use by drivers

Make phy_aneg_done() available to drivers so that the result of the
auto-negotiation initiated by phy_start_aneg() can be determined.

Remove the local implementation of phy_aneg_done() from the Aeroflex
driver and use the phy library version.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aeroflex/greth.c
drivers/net/phy/phy.c
include/linux/phy.h