]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: sun4i-emac: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 18 Jun 2016 13:15:40 +0000 (15:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2016 20:22:41 +0000 (16:22 -0400)
commit38ca3af86ae26766de7c187ccf8325e71f8f86fc
tree82f6c8f9102314d0b11db8472bb58459e3963733
parent70bdc2727b04c6d00fc68168ad9685d05dce194e
net: ethernet: sun4i-emac: 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/allwinner/sun4i-emac.c