summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/cortina.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-03-02 17:13:11 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-03 21:47:57 -0800
commit7be3ad848f77eba893bd08b97e7383e8d5e873ac (patch)
tree5a01c7bc9878996169117e00bb18e78c7ce0a1f9 /drivers/net/phy/cortina.c
parentd81210c25e17b5cca71138f3990ed8071d510ba9 (diff)
downloadlinux-stable-7be3ad848f77eba893bd08b97e7383e8d5e873ac.tar.gz
linux-stable-7be3ad848f77eba893bd08b97e7383e8d5e873ac.tar.bz2
linux-stable-7be3ad848f77eba893bd08b97e7383e8d5e873ac.zip
net: phy: remove gen10g_no_soft_reset
genphy_no_soft_reset and gen10g_no_soft_reset are both the same no-ops, one is enough. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/cortina.c')
-rw-r--r--drivers/net/phy/cortina.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c
index a64eb211cc56..856cdc36aacd 100644
--- a/drivers/net/phy/cortina.c
+++ b/drivers/net/phy/cortina.c
@@ -82,7 +82,7 @@ static struct phy_driver cortina_driver[] = {
.features = PHY_10GBIT_FEATURES,
.config_aneg = gen10g_config_aneg,
.read_status = cortina_read_status,
- .soft_reset = gen10g_no_soft_reset,
+ .soft_reset = genphy_no_soft_reset,
.probe = cortina_probe,
},
};