]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit524981d44e03dbf05bd8e806a14c4f048e3f833d
tree3fa634a773aa4d42301bb92ee14cea17c76e08c8
parent9644e5561fbc8274ca4746edae73604950215f0b
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