]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: fs-enet: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 16 May 2016 14:52:37 +0000 (16:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 02:16:32 +0000 (22:16 -0400)
commit80b7cfedc1ed1d9c26107e9f79acb3bc3586c269
tree17503a406b690a81234a00c561914030e9aab7d9
parentd1524bb782d10feeecd6121cf4215bb43be82c58
net: ethernet: fs-enet: 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/fs_enet/fs_enet-main.c