net: ethernet: lpc_eth: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Tue, 28 Jun 2016 21:59:45 +0000 (23:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 12:15:33 +0000 (08:15 -0400)
commitcb90d3e15de20e44ec77c92c0a1cb2ae47a5a27f
treebb4232e15e481e425ea9cf4a21c973e67a8c20b8
parentf786f3564c4f02d5026189d4e4fc5e544d125a0c
net: ethernet: lpc_eth: 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/nxp/lpc_eth.c