net: ethernet: ixp4xx_eth: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 2 Jul 2016 12:06:15 +0000 (14:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 22:59:52 +0000 (15:59 -0700)
commitfa018484cf5ea67678143c4570b63154fa819682
tree3762a84c2eea2dbca53af47b2cc5846833fe46f2
parent2a62416dc67922458f809776d67138f0cc5544cd
net: ethernet: ixp4xx_eth: use phy_ethtool_{get|set}_link_ksettings

There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xscale/ixp4xx_eth.c