net: smsc: smc91x: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 4 Mar 2017 11:42:39 +0000 (12:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 06:18:05 +0000 (22:18 -0800)
commitc4df19a66617a4818769468975019c736a84e0c9
tree0b0dffefe2a3f6fd6e3c611bc890afb767adbc83
parent9e0b516af24eb72502bb61d383c22cfbe0407c2c
net: smsc: smc91x: use new api ethtool_{get|set}_link_ksettings

The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.

As I don't have the hardware, I'd be very pleased if
someone may test this patch.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc91x.c