kdb: Rename members of struct kdbtab_t
Remove redundant prefix "cmd_" from name of members in struct kdbtab_t for better readibility. Suggested-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20210712134620.276667-5-sumit.garg@linaro.org Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
This commit is contained in:
committed by
Daniel Thompson
parent
9a5db530aa
commit
e868f0a3c4
@@ -29,10 +29,10 @@ static int kdb_hello_cmd(int argc, const char **argv)
|
||||
}
|
||||
|
||||
static kdbtab_t hello_cmd = {
|
||||
.cmd_name = "hello",
|
||||
.cmd_func = kdb_hello_cmd,
|
||||
.cmd_usage = "[string]",
|
||||
.cmd_help = "Say Hello World or Hello [string]",
|
||||
.name = "hello",
|
||||
.func = kdb_hello_cmd,
|
||||
.usage = "[string]",
|
||||
.help = "Say Hello World or Hello [string]",
|
||||
};
|
||||
|
||||
static int __init kdb_hello_cmd_init(void)
|
||||
|
||||
Reference in New Issue
Block a user