net: realtek: 8139cp: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Wed, 22 Feb 2017 07:50:27 +0000 (08:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 01:05:39 +0000 (17:05 -0800)
commitdf6f37225d62316f8505f10ef1099ee40fa3978b
treee9fd2a7c18dbeb4bc1527d8ef3508ae71c10d5b6
parent0878fff1f42c18e448ab5b8b4f6a3eb32365b5b6
net: realtek: 8139cp: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139cp.c