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:05:44 +0000 (22:05 -0800)
commit7b022a1b706f7684341e285e627a74a98e730301
tree2921c11a9f5a211844d7de9f7123fabe2dd4635d
parentb78125e00fce0a858c7827dd47ce500320d6d0f7
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