Skip to content

Commit 24c60b1

Browse files
committed
style: Fix formatting
CI compliance checks demanded reformatting. Signed-off-by: Kevin ORourke <[email protected]>
1 parent 403ba1c commit 24c60b1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

drivers/ethernet/phy/phy_mii.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ static int check_autonegotiation_completion(const struct device *dev)
230230

231231
if (!(bmsr_reg & MII_BMSR_AUTONEG_COMPLETE)) {
232232
if (data->autoneg_timeout-- == 0U) {
233-
LOG_DBG("PHY (%d) auto-negotiate timedout",
234-
cfg->phy_addr);
233+
LOG_DBG("PHY (%d) auto-negotiate timedout", cfg->phy_addr);
235234
return -ETIMEDOUT;
236235
}
237236
return -EINPROGRESS;
@@ -328,9 +327,8 @@ static void monitor_work_handler(struct k_work *work)
328327
k_work_reschedule(&data->autoneg_work,
329328
K_MSEC(MII_AUTONEG_POLL_INTERVAL_MS));
330329
} else {
331-
/* Submit delayed work */
332-
k_work_reschedule(&data->monitor_work,
333-
K_MSEC(CONFIG_PHY_MONITOR_PERIOD));
330+
/* Submit delayed work */
331+
k_work_reschedule(&data->monitor_work, K_MSEC(CONFIG_PHY_MONITOR_PERIOD));
334332
}
335333
}
336334

0 commit comments

Comments
 (0)