Skip to content

Commit

Permalink
board_f: Cosmetic style fix
Browse files Browse the repository at this point in the history
Some coding convention fixes for print_resetinfo().

Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
lbmeng authored and trini committed Aug 8, 2023
1 parent 1a549c8 commit d8cb1dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions common/board_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,12 @@ static int print_resetinfo(void)
bool status_printed = false;
int ret;

/* Not all boards have sysreset drivers available during early
/*
* Not all boards have sysreset drivers available during early
* boot, so don't fail if one can't be found.
*/
for (ret = uclass_first_device_check(UCLASS_SYSRESET, &dev); dev;
ret = uclass_next_device_check(&dev)) {
ret = uclass_next_device_check(&dev)) {
if (ret) {
debug("%s: %s sysreset device (error: %d)\n",
__func__, dev->name, ret);
Expand Down

0 comments on commit d8cb1dc

Please sign in to comment.