net: usb: r8152: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 12 Mar 2017 21:41:58 +0000 (22:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 22:25:54 +0000 (15:25 -0700)
commit06144dcfd3b473a0b21c6c836ceb0a9cc4aab1c3
tree0283d00ccaf0513c3d17200229a886f774d30f44
parentde1e98c69bc22870342a099c2fc1257b09b15b7a
net: usb: r8152: 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: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c