]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ll_temac: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Wed, 13 Jul 2016 23:48:52 +0000 (01:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 00:42:31 +0000 (17:42 -0700)
commit97636c4b6266f15f6fb13eb794ef17aa69ee4147
treeab3ce7056fca7f85ceeb7ed10dad025b24cc2166
parent834df548c160c7d0fbbb26d495d105efeb490901
net: ethernet: ll_temac: 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/xilinx/ll_temac_main.c