Skip to content

Commit 6f99b6d

Browse files
clamattiammahadevan108
authored andcommitted
drivers: ethernet: phy: phy_mii: log remove excess newlines
Remove excess newlines from log output in phy_mii. Signed-off-by: Cla Mattia Galliard <[email protected]>
1 parent 09546ff commit 6f99b6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/ethernet/phy/phy_mii.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ static int update_link_state(const struct device *dev)
243243
data->state.speed = LINK_HALF_10BASE_T;
244244
}
245245

246-
LOG_INF("PHY (%d) Link speed %s Mb, %s duplex\n",
246+
LOG_INF("PHY (%d) Link speed %s Mb, %s duplex",
247247
cfg->phy_addr,
248248
PHY_LINK_IS_SPEED_1000M(data->state.speed) ? "1000" :
249249
(PHY_LINK_IS_SPEED_100M(data->state.speed) ? "100" : "10"),
@@ -455,7 +455,7 @@ static int phy_mii_initialize(const struct device *dev)
455455
return -EINVAL;
456456
}
457457

458-
LOG_INF("PHY (%d) ID %X\n", cfg->phy_addr, phy_id);
458+
LOG_INF("PHY (%d) ID %X", cfg->phy_addr, phy_id);
459459
}
460460

461461
data->gigabit_supported = is_gigabit_supported(dev);

0 commit comments

Comments
 (0)