From: Heinrich Schuchardt Date: Tue, 19 Apr 2022 16:46:36 +0000 (+0200) Subject: dm: fix formatting of uclass dump X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=d3eb1bf7cf242440c966ff20114abbe7f94c4a46;p=u-boot.git 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 --- 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++;