diff options
author | Simon Glass | 2022-05-08 04:39:19 -0600 |
---|---|---|
committer | Simon Glass | 2022-06-28 03:09:52 +0100 |
commit | 1452870404804210db1d797ec046e24a99c101bf (patch) | |
tree | 4d74f730b71202a9a96c5a5d7185f51904cc5b1c /cmd | |
parent | 06d590844f3560facdaeba728148e8db0fdbb023 (diff) |
dm: core: Rename dm_dump_all()
This is not a good name anymore as it does not dump everything. Rename it
to dm_dump_tree() to avoid confusion.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/dm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,10 +10,10 @@ #include <command.h> #include <dm/util.h> -static int do_dm_dump_all(struct cmd_tbl *cmdtp, int flag, int argc, - char *const argv[]) +static int do_dm_dump_tree(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { - dm_dump_all(); + dm_dump_tree(); return 0; } @@ -70,7 +70,7 @@ static char dm_help_text[] = #endif U_BOOT_CMD_WITH_SUBCMDS(dm, "Driver model low level access", dm_help_text, - U_BOOT_SUBCMD_MKENT(tree, 1, 1, do_dm_dump_all), + U_BOOT_SUBCMD_MKENT(tree, 1, 1, do_dm_dump_tree), U_BOOT_SUBCMD_MKENT(uclass, 1, 1, do_dm_dump_uclass), U_BOOT_SUBCMD_MKENT(devres, 1, 1, do_dm_dump_devres), U_BOOT_SUBCMD_MKENT(drivers, 1, 1, do_dm_dump_drivers), |