drivers: net: xgene: ethtool: Use phy_ethtool_gset and sset
authorIyappan Subramanian <isubramanian@apm.com>
Tue, 26 Jul 2016 00:12:44 +0000 (17:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jul 2016 04:51:43 +0000 (21:51 -0700)
commit52d1fd9983182e9e92507a18a997b3614864e0ee
treeeb1d12801251e051ea189ff8e92b3058466577df
parent8c1519632fa6cb34a5ff4dddffd4a182c4fae1b6
drivers: net: xgene: ethtool: Use phy_ethtool_gset and sset

Changed SGMII 1G get_settings to use phy_ethtool_gset.
Changed SGMII 1G set_settings to use phy_ethtool_sset.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Tested-by: Fushen Chen <fchen@apm.com>
Tested-by: Toan Le <toanle@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c