]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: gianfar: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 15 May 2016 23:30:09 +0000 (01:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 01:51:40 +0000 (21:51 -0400)
commit200fc5748b24f6eecca7f5d848af13d24eccc19e
tree8574e160ad30b6bc0ecd04cad24d2ab627646e91
parent0727b3bc31275a2b54f9182de707f4f8cbbff52b
net: ethernet: gianfar: 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/freescale/gianfar_ethtool.c