]> 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)
commitc83c59bcc5fcca25707dd0c8f2a78ed87fa2becc
treeab3ce7056fca7f85ceeb7ed10dad025b24cc2166
parentc22b2bb9d20b37a6b2ea3c16a6cd73088556271b
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