]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: hix5hd2: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 25 Jun 2016 14:55:13 +0000 (16:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 13:12:35 +0000 (09:12 -0400)
commitc18e86419d456e30178389735c85807608833f9d
tree5f19fa111c6e84a6b0cdc053c1ae466a63289137
parent7197ebdc9bca851051d3a94ccc406ea8c83ca7c7
net: ethernet: hix5hd2: 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/hisilicon/hix5hd2_gmac.c