net: ethernet: davinci_emac: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 1 Jul 2016 22:02:35 +0000 (00:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2016 18:51:11 +0000 (14:51 -0400)
commitefb15c396445644aaea9d88e68300762f01fca92
treea2eca745cb4a6bdcac8709c95c5c725d1fb234e8
parentc332177e5ee5ef9280d346fb1cba0f00ffe4c18d
net: ethernet: davinci_emac: 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/ti/davinci_emac.c