style: Fix formatting

CI compliance checks demanded reformatting.

Signed-off-by: Kevin ORourke <kevin.orourke@ferroamp.se>
This commit is contained in:
Kevin ORourke 2025-03-31 11:07:38 +02:00 committed by Benjamin Cabé
commit dfe2848aeb

View file

@ -230,8 +230,7 @@ static int check_autonegotiation_completion(const struct device *dev)
if (!(bmsr_reg & MII_BMSR_AUTONEG_COMPLETE)) { if (!(bmsr_reg & MII_BMSR_AUTONEG_COMPLETE)) {
if (data->autoneg_timeout-- == 0U) { if (data->autoneg_timeout-- == 0U) {
LOG_DBG("PHY (%d) auto-negotiate timedout", LOG_DBG("PHY (%d) auto-negotiate timedout", cfg->phy_addr);
cfg->phy_addr);
return -ETIMEDOUT; return -ETIMEDOUT;
} }
return -EINPROGRESS; return -EINPROGRESS;
@ -328,9 +327,8 @@ static void monitor_work_handler(struct k_work *work)
k_work_reschedule(&data->autoneg_work, k_work_reschedule(&data->autoneg_work,
K_MSEC(MII_AUTONEG_POLL_INTERVAL_MS)); K_MSEC(MII_AUTONEG_POLL_INTERVAL_MS));
} else { } else {
/* Submit delayed work */ /* Submit delayed work */
k_work_reschedule(&data->monitor_work, k_work_reschedule(&data->monitor_work, K_MSEC(CONFIG_PHY_MONITOR_PERIOD));
K_MSEC(CONFIG_PHY_MONITOR_PERIOD));
} }
} }