[PATCH 1/1] 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 --- drivers/core/dump.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/core/dump.c b/drivers/core/dump.c index f2f9cacc56..253e5bb4b5 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++;

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 | 2 -- 1 file changed, 2 deletions(-)
Applied to u-boot-dm, thanks!
participants (2)
-
Heinrich Schuchardt
-
Simon Glass