ramips: mt7620: fix bad indent
Fix the indent to make the make it obvious which condition is the parent of the loop. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
22ae14d0e7
commit
1ea1f3a223
1 changed files with 6 additions and 7 deletions
|
@ -154,13 +154,12 @@ static void mt7620_hw_init(struct mt7620_gsw *gsw, int mdio_mode)
|
|||
_mt7620_mii_write(gsw, 1, 31, 0x1000);
|
||||
_mt7620_mii_write(gsw, 1, 17, 0xe7f8);
|
||||
|
||||
/* turn on all PHYs */
|
||||
for (i = 0; i <= 4; i++) {
|
||||
val = _mt7620_mii_read(gsw, i, 0);
|
||||
val &= ~BIT(11);
|
||||
_mt7620_mii_write(gsw, i, 0, val);
|
||||
}
|
||||
|
||||
/* turn on all PHYs */
|
||||
for (i = 0; i <= 4; i++) {
|
||||
val = _mt7620_mii_read(gsw, i, 0);
|
||||
val &= ~BIT(11);
|
||||
_mt7620_mii_write(gsw, i, 0, val);
|
||||
}
|
||||
}
|
||||
|
||||
/* global page 0 */
|
||||
|
|
Loading…
Reference in a new issue