]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: smsc: smsc911x: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 2 Jul 2016 23:14:21 +0000 (01:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 22:59:52 +0000 (15:59 -0700)
commit8bf6583779ecc9c18e9fb59cb820f151d776a645
tree1c9bc8e597f9564baaaf828288496ef9297bba64
parentcd7818e7eec095a7e236afdfc92461a93dec7418
net: ethernet: smsc: smsc911x: 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/smsc/smsc911x.c