Skip to content

Commit 4774ad8

Browse files
Ansuelkuba-moo
authored andcommitted
net: phy: marvell: Fix inconsistent indenting in led_blink_set
Fix inconsistent indeinting in m88e1318_led_blink_set reported by kernel test robot, probably done by the presence of an if condition dropped in later revision of the same code. Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: ea9e864 ("net: phy: marvell: Implement led_blink_set()") Signed-off-by: Christian Marangi <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 700f11e commit 4774ad8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/net/phy/marvell.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2880,10 +2880,10 @@ static int m88e1318_led_blink_set(struct phy_device *phydev, u8 index,
28802880
case 1:
28812881
case 2:
28822882
reg &= ~(0xf << (4 * index));
2883-
reg |= MII_88E1318S_PHY_LED_FUNC_BLINK << (4 * index);
2884-
/* Reset default is 84ms */
2885-
*delay_on = 84 / 2;
2886-
*delay_off = 84 / 2;
2883+
reg |= MII_88E1318S_PHY_LED_FUNC_BLINK << (4 * index);
2884+
/* Reset default is 84ms */
2885+
*delay_on = 84 / 2;
2886+
*delay_off = 84 / 2;
28872887
break;
28882888
default:
28892889
return -EINVAL;

0 commit comments

Comments
 (0)