summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2015-10-22 08:45:27 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-10-26 08:20:27 +0100
commita1aa681089ad59ebfb702fda57349f0014f5d1d9 (patch)
tree7481d9a9a2dd1e799ae5bc0d43952761acd3484f
parentd70cb35e44c2880f17351393db3785855b064bd6 (diff)
downloadbarebox-a1aa681089ad59ebfb702fda57349f0014f5d1d9.tar.gz
commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--commands/clk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/clk.c b/commands/clk.c
index 469d9b3..e9459a3 100644
--- a/commands/clk.c
+++ b/commands/clk.c
@@ -40,7 +40,7 @@ static int do_clk_disable(int argc, char *argv[])
clk_disable(clk);
- return 0;
+ return COMMAND_SUCCESS;
}
BAREBOX_CMD_START(clk_disable)
@@ -149,7 +149,7 @@ static int do_clk_dump(int argc, char *argv[])
clk_dump(verbose);
- return 0;
+ return COMMAND_SUCCESS;
}
BAREBOX_CMD_HELP_START(clk_dump)