projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b990c7b
)
Blackfin: gpio: use common usage func
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 23 Jul 2010 08:24:46 +0000
(
04:24
-0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 29 Jul 2010 17:29:52 +0000
(13:29 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/cpu/cmd_gpio.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/cpu/cmd_gpio.c
b/arch/blackfin/cpu/cmd_gpio.c
index 9e505b661718283b975ef2712db053901f76c990..4430c90d4d760a6d7b6f5b66601d1c65b08cfc23 100644
(file)
--- a/
arch/blackfin/cpu/cmd_gpio.c
+++ b/
arch/blackfin/cpu/cmd_gpio.c
@@
-26,11
+26,9
@@
int do_gpio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 0;
}
- if (argc != 3)
{
+ if (argc != 3)
show_usage:
- printf("Usage:\n%s\n", cmdtp->usage);
- return 1;
- }
+ return cmd_usage(cmdtp);
/* parse the behavior */
ulong sub_cmd;