Skip to content

Commit

Permalink
drivers: i3c: shell: run clang-format
Browse files Browse the repository at this point in the history
Run clang-format on i3c_shell.c.

Signed-off-by: Ryan McClelland <[email protected]>
  • Loading branch information
XenuIsWatching committed Nov 2, 2024
1 parent 2864abe commit 480c409
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/i3c/i3c_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_FN)
const struct i3c_ctrl i3c_list[] = {
/* zephyr-keep-sorted-start */
DT_FOREACH_STATUS_OKAY(cdns_i3c, I3C_CTRL_LIST_ENTRY)
DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_LIST_ENTRY)
DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_LIST_ENTRY)
DT_FOREACH_STATUS_OKAY(nuvoton_npcx_i3c, I3C_CTRL_LIST_ENTRY)
DT_FOREACH_STATUS_OKAY(nxp_mcux_i3c, I3C_CTRL_LIST_ENTRY)
/* zephyr-keep-sorted-stop */
};

Expand Down Expand Up @@ -1075,7 +1075,7 @@ static int cmd_i3c_ccc_getacccr(const struct shell *sh, size_t argc, char **argv
if ((i3c_odd_parity(handoff_address.addr >> 1) != (handoff_address.addr & BIT(0))) ||
(handoff_address.addr >> 1 != desc->dynamic_addr)) {
shell_error(sh, "I3C: invalid returned address 0x%02x; expected 0x%02x",
handoff_address.addr, desc->dynamic_addr);
handoff_address.addr, desc->dynamic_addr);
return -EIO;
}

Expand Down

0 comments on commit 480c409

Please sign in to comment.