]> 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)
commitf19f8ac0cc5322e06f64d6700593710651b5f38e
tree3fa634a773aa4d42301bb92ee14cea17c76e08c8
parentc35f2c228af2975ba79353dd55b8c1b2dec1d49b
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