]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b6e644c15a78472ac16871219580565d990714f
treeb4be8267e59d470fd7768baa0ed8ed18c517fcbb
parent6cb27c1a6df1fc06ae2f0512940948e6b53ea85f
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