diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-04-19 19:46:36 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-06-28 05:09:51 +0300 |
commit | d3eb1bf7cf242440c966ff20114abbe7f94c4a46 (patch) | |
tree | 6e61a6344b2b63be5f7a761e7950d15c4526f072 /drivers/core | |
parent | 66995164ddbedd3449673052a10fc35917bf3d78 (diff) | |
download | u-boot-d3eb1bf7cf242440c966ff20114abbe7f94c4a46.tar.xz |
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>
Diffstat (limited to 'drivers/core')
-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 fe97dca954..21d9e7a91f 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++; |