Skip to content

Commit cf36768

Browse files
marwaiehm-stdleach02
authored andcommitted
drivers: ethernet: eth_stm32_hal: Correct indentation
Adjusted indentation to follow consistent coding standards. Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
1 parent eff9a87 commit cf36768

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/ethernet/eth_stm32_hal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,11 +1520,11 @@ static int ptp_stm32_init(const struct device *port)
15201520
/* Query ethernet clock rate */
15211521
ret = clock_control_get_rate(eth_dev_data->clock,
15221522
#if DT_HAS_COMPAT_STATUS_OKAY(st_stm32h7_ethernet)
1523-
(clock_control_subsys_t)&eth_cfg->pclken,
1523+
(clock_control_subsys_t)&eth_cfg->pclken,
15241524
#else
1525-
(clock_control_subsys_t)&eth_cfg->pclken_ptp,
1525+
(clock_control_subsys_t)&eth_cfg->pclken_ptp,
15261526
#endif /* DT_HAS_COMPAT_STATUS_OKAY(st_stm32h7_ethernet) */
1527-
&ptp_hclk_rate);
1527+
&ptp_hclk_rate);
15281528
if (ret) {
15291529
LOG_ERR("Failed to query ethernet clock");
15301530
return -EIO;

0 commit comments

Comments
 (0)