projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6699516
)
dm: fix formatting of uclass dump
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Tue, 19 Apr 2022 16:46:36 +0000
(18:46 +0200)
committer
Simon Glass
<sjg@chromium.org>
Tue, 28 Jun 2022 02:09:51 +0000
(
03:09
+0100)
Insert an empty line after each uclass independent of whether it has
devices or not.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
drivers/core/dump.c
patch
|
blob
|
history
diff --git
a/drivers/core/dump.c
b/drivers/core/dump.c
index fe97dca954d3cc1c7a162dc029cecbeb110af4b2..21d9e7a91f721dc94afbd21eb8b47334c27529c5 100644
(file)
--- a/
drivers/core/dump.c
+++ b/
drivers/core/dump.c
@@
-89,8
+89,6
@@
void dm_dump_uclass(void)
continue;
printf("uclass %d: %s\n", id, uc->uc_drv->name);
- if (list_empty(&uc->dev_head))
- continue;
uclass_foreach_dev(dev, uc) {
dm_display_line(dev, i);
i++;