mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 02:36:47 +07:00
net: phy: marvell10g: Use linkmode_set_bit helper instead of __set_bit
Cosmetic patch making use of helpers dedicated to linkmodes handling. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7414542406
commit
0feaccd595
@ -253,8 +253,8 @@ static int mv3310_get_features(struct phy_device *phydev)
|
||||
return val;
|
||||
|
||||
if (val & MDIO_AN_STAT1_ABLE)
|
||||
__set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT,
|
||||
phydev->supported);
|
||||
linkmode_set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT,
|
||||
phydev->supported);
|
||||
}
|
||||
|
||||
ret = genphy_c45_pma_read_abilities(phydev);
|
||||
|
Loading…
Reference in New Issue
Block a user