]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: ethernet: mvpp2: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 27 Jun 2016 22:08:12 +0000 (00:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 10:03:39 +0000 (06:03 -0400)
commitfb773e975e80a04cb7c0cfd0c1aea2dca095e968
tree8e0001421377abe335e61fc46c8033a3c12d78fa
parent8e07269de1fd09a01a2c00aba68b0c13160a6bac
net: ethernet: mvpp2: 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/marvell/mvpp2.c