summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/microchip_t1.c
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2020-11-09 02:16:05 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-10 02:41:17 +0100
commit8b7e0a01dfa7eed3e60c594ac33c2ec998086f54 (patch)
tree1299b9d168748252703acbdda32dce378ecbc506 /drivers/net/phy/microchip_t1.c
parentnet/mlx4: Assign boolean values to a bool variable (diff)
downloadlinux-8b7e0a01dfa7eed3e60c594ac33c2ec998086f54.tar.xz
linux-8b7e0a01dfa7eed3e60c594ac33c2ec998086f54.zip
net: phy: microchip_t1: Don't set .config_aneg
The .config_aneg in microchip_t1 is genphy_config_aneg, so it's not needed, because the phy core will call genphy_config_aneg() if the .config_aneg is NULL. Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20201109091605.3951c969@xhacker.debian Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/microchip_t1.c')
-rw-r--r--drivers/net/phy/microchip_t1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/microchip_t1.c b/drivers/net/phy/microchip_t1.c
index fed3e395f18e..1c9900162619 100644
--- a/drivers/net/phy/microchip_t1.c
+++ b/drivers/net/phy/microchip_t1.c
@@ -219,7 +219,6 @@ static struct phy_driver microchip_t1_phy_driver[] = {
.features = PHY_BASIC_T1_FEATURES,
.config_init = lan87xx_config_init,
- .config_aneg = genphy_config_aneg,
.ack_interrupt = lan87xx_phy_ack_interrupt,
.config_intr = lan87xx_phy_config_intr,