Skip to content

Commit

Permalink
drivers: i3c: i3c_shell: add alphabetical order constraint
Browse files Browse the repository at this point in the history
Add /* zephyr-keep-sorted-start */ around DT_FOREACH_STATUS_OKAY.

Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
  • Loading branch information
alvsun authored and fabiobaltieri committed Apr 24, 2024
1 parent 5d33a4c commit 629bfd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/i3c/i3c_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@ struct i3c_ctrl {
I3C_ATTACHED_DEV_GET_FN(node_id) \
I3C_LIST_DEV_GET_FN(node_id)

/* zephyr-keep-sorted-start */
DT_FOREACH_STATUS_OKAY(cdns_i3c, I3C_CTRL_FN)
DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_FN)
DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_FN)
/* zephyr-keep-sorted-stop */

#define I3C_CTRL_LIST_ENTRY(node_id) \
{ \
Expand Down

0 comments on commit 629bfd9

Please sign in to comment.