summaryrefslogtreecommitdiffstats
path: root/samples/kdb
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2021-07-12 15:46:20 +0200
committerDaniel Thompson <daniel.thompson@linaro.org>2021-07-27 18:05:06 +0200
commite868f0a3c4b9c1d7721f08b703142a876814a3f8 (patch)
tree65e363ed1da5e6b81ed34b097542e969cea07fe3 /samples/kdb
parentkdb: Simplify kdb_defcmd macro logic (diff)
downloadlinux-e868f0a3c4b9c1d7721f08b703142a876814a3f8.tar.xz
linux-e868f0a3c4b9c1d7721f08b703142a876814a3f8.zip
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/kdb')
-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)