net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 3 Jul 2016 15:33:57 +0000 (17:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 23:02:45 +0000 (16:02 -0700)
commit4386f5662e639553552408c33014ca3e8d612b14
tree3fa634a773aa4d42301bb92ee14cea17c76e08c8
parent62469c76007e11428e2ee3c6de90cbe74b588d44
net: ethernet: bcmgenet: 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/broadcom/genet/bcmgenet.c