Skip to content

Commit

Permalink
net: phy: microchip_t1: Don't set .config_aneg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jisheng Zhang authored and Jakub Kicinski committed Nov 10, 2020
1 parent 785d21b commit 8b7e0a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/phy/microchip_t1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8b7e0a0

Please sign in to comment.