projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7414542
)
net: phy: marvell10g: Use linkmode_set_bit helper instead of __set_bit
author
Maxime Chevallier
<maxime.chevallier@bootlin.com>
Fri, 22 Feb 2019 23:37:39 +0000
(
00:37
+0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Feb 2019 01:45:25 +0000
(17:45 -0800)
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>
drivers/net/phy/marvell10g.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/marvell10g.c
b/drivers/net/phy/marvell10g.c
index 89920b10d75b439d3fff70d108a9dea596f650ea..821ef1b2f8cc9540a71003af529a395b9c3a89a3 100644
(file)
--- a/
drivers/net/phy/marvell10g.c
+++ b/
drivers/net/phy/marvell10g.c
@@
-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);