]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: macb: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Tue, 21 Jun 2016 22:32:36 +0000 (00:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jun 2016 15:57:33 +0000 (11:57 -0400)
commitf7c1ca42d7e35064755cc848a914acd32077d43f
treeb81c8d6afd4a99a6a7ed16edf272615d8c7bd776
parentf21931ddd505e5fecd236d538d7a87ffe2547b66
net: ethernet: macb: 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/cadence/macb.c