diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-04-19 18:46:36 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-06-28 03:09:51 +0100 |
commit | d3eb1bf7cf242440c966ff20114abbe7f94c4a46 (patch) | |
tree | 6e61a6344b2b63be5f7a761e7950d15c4526f072 | |
parent | 66995164ddbedd3449673052a10fc35917bf3d78 (diff) |
dm: fix formatting of uclass dump
Insert an empty line after each uclass independent of whether it has
devices or not.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r-- | drivers/core/dump.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/core/dump.c b/drivers/core/dump.c index fe97dca954d..21d9e7a91f7 100644 --- 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++; |