net: ethernet: marvell: mvneta: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 30 Jul 2016 15:42:12 +0000 (17:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2016 22:42:21 +0000 (15:42 -0700)
commit013ad40d3709c12fbe2edf961a7109480a2f550a
tree254dd1bf1026d52865d0b5a62bafbea7f79ca858
parentc6c022e3602a8165ead71d60ac7ac22e07c81d37
net: ethernet: marvell: mvneta: use new api ethtool_{get|set}_link_ksettings

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

We use the generic function phy_ethtool_get_link_ksettings,
and update old mvneta_ethtool_set_settings to the new api.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c