net: usb: pegasus: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 17 Mar 2017 22:34:04 +0000 (23:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 00:47:26 +0000 (17:47 -0700)
commit71dbc3414caaf68d1914f63864b65d2a4d0bc39c
tree686bb42df655cdbd5c7c85c30833a30e7435e342
parent71f0cfe84b502ec20ccb2103beed13b063286f63
net: usb: pegasus: 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>
Acked-by: Petko Manolov <petkan@nucleusys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/pegasus.c