Skip to content

Commit 8b7bfd4

Browse files
GeorgeCGVkartben
authored andcommitted
drivers: ethernet: phy: sort includes
* Sort includes by groups each alphabetically: - standard lib - zephyr - private * Move log registration to be after all includes. Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
1 parent b55940c commit 8b7bfd4

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

drivers/ethernet/phy/phy_adin2111.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,21 @@
55
* SPDX-License-Identifier: Apache-2.0
66
*/
77

8-
#include <zephyr/logging/log.h>
9-
10-
LOG_MODULE_REGISTER(phy_adin, CONFIG_PHY_LOG_LEVEL);
11-
128
#include <errno.h>
139
#include <stdint.h>
1410
#include <stdbool.h>
1511
#include <zephyr/kernel.h>
1612
#include <zephyr/device.h>
17-
#include <zephyr/sys/util.h>
18-
#include <zephyr/net/phy.h>
19-
#include <zephyr/net/mii.h>
20-
#include <zephyr/net/mdio.h>
2113
#include <zephyr/drivers/mdio.h>
14+
#include <zephyr/logging/log.h>
15+
#include <zephyr/net/mdio.h>
16+
#include <zephyr/net/mii.h>
17+
#include <zephyr/net/phy.h>
18+
#include <zephyr/sys/util.h>
2219
#include "phy_adin2111_priv.h"
2320

21+
LOG_MODULE_REGISTER(phy_adin, CONFIG_PHY_LOG_LEVEL);
22+
2423
/* PHYs out of reset check retry delay */
2524
#define ADIN2111_PHY_AWAIT_DELAY_POLL_US 15U
2625
/*

0 commit comments

Comments
 (0)