summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2021-07-12 19:16:20 +0530
committerDaniel Thompson <daniel.thompson@linaro.org>2021-07-27 17:05:06 +0100
commite868f0a3c4b9c1d7721f08b703142a876814a3f8 (patch)
tree65e363ed1da5e6b81ed34b097542e969cea07fe3 /samples
parent9a5db530aa7d98b10c4f5104027565c98cca49e6 (diff)
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>
Diffstat (limited to 'samples')
-rw-r--r--samples/kdb/kdb_hello.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/kdb/kdb_hello.c b/samples/kdb/kdb_hello.c
index 9ad514a6648b..82736e5a5e32 100644
--- a/samples/kdb/kdb_hello.c
+++ b/samples/kdb/kdb_hello.c
@@ -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)