summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2019-11-06 23:36:17 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-06 21:42:06 -0800
commited7fa2ad40556557cc0ba12649191680d992ed58 (patch)
treec83ca5cc3fe0b2031a67f2936fb185f495fe45f4
parent96c3671204b86042cd69dfdf06f4f65997cb9452 (diff)
downloadlinux-ed7fa2ad40556557cc0ba12649191680d992ed58.tar.bz2
net: phy: at803x: remove config_init for AR9331
According to its datasheet, the internal PHY doesn't have debug registers nor MMDs. Since config_init() only configures delays and clocks and so on in these registers it won't be needed on this PHY. Remove it. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/phy/at803x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index 4434d501cd4f..aee62610bade 100644
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -755,8 +755,6 @@ static struct phy_driver at803x_driver[] = {
/* ATHEROS AR9331 */
PHY_ID_MATCH_EXACT(ATH9331_PHY_ID),
.name = "Qualcomm Atheros AR9331 built-in PHY",
- .probe = at803x_probe,
- .config_init = at803x_config_init,
.suspend = at803x_suspend,
.resume = at803x_resume,
/* PHY_BASIC_FEATURES */