From 6f99b6d0e4db7821d7ea98cedadb6bfb8685b5f4 Mon Sep 17 00:00:00 2001 From: Cla Mattia Galliard Date: Fri, 25 Oct 2024 10:26:22 +0200 Subject: [PATCH] drivers: ethernet: phy: phy_mii: log remove excess newlines Remove excess newlines from log output in phy_mii. Signed-off-by: Cla Mattia Galliard --- drivers/ethernet/phy/phy_mii.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ethernet/phy/phy_mii.c b/drivers/ethernet/phy/phy_mii.c index f4f06a0f10d..6d51e9f94a2 100644 --- a/drivers/ethernet/phy/phy_mii.c +++ b/drivers/ethernet/phy/phy_mii.c @@ -243,7 +243,7 @@ static int update_link_state(const struct device *dev) data->state.speed = LINK_HALF_10BASE_T; } - LOG_INF("PHY (%d) Link speed %s Mb, %s duplex\n", + LOG_INF("PHY (%d) Link speed %s Mb, %s duplex", cfg->phy_addr, PHY_LINK_IS_SPEED_1000M(data->state.speed) ? "1000" : (PHY_LINK_IS_SPEED_100M(data->state.speed) ? "100" : "10"), @@ -455,7 +455,7 @@ static int phy_mii_initialize(const struct device *dev) return -EINVAL; } - LOG_INF("PHY (%d) ID %X\n", cfg->phy_addr, phy_id); + LOG_INF("PHY (%d) ID %X", cfg->phy_addr, phy_id); } data->gigabit_supported = is_gigabit_supported(dev);