net: ethernet: tc35815: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Thu, 14 Jul 2016 13:20:47 +0000 (15:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 23:41:33 +0000 (16:41 -0700)
commit3a11d9ef65e788fffe348b071c965186af551368
treeb4be8267e59d470fd7768baa0ed8ed18c517fcbb
parenta4fc549af8addaf0d99a85b4dd1b34a54d12d05e
net: ethernet: tc35815: 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/toshiba/tc35815.c