]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: bcmsysport: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 19 Jun 2016 18:39:09 +0000 (20:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2016 23:15:55 +0000 (16:15 -0700)
commit830e7cd5767061bba2bcd29857edede6ff1e7036
treecb7bcefb5a45106fc5eb7f8f80c1e3a81911154f
parentdde3e891cc3520a6eb88d13caf9850ef9ef3e920
net: ethernet: bcmsysport: 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>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c