Blackfin: gpio: use common usage func

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2010-07-23 04:24:46 -04:00
parent b990c7bda4
commit c8cf4fc407
1 changed files with 2 additions and 4 deletions

View File

@ -26,11 +26,9 @@ int do_gpio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 0; return 0;
} }
if (argc != 3) { if (argc != 3)
show_usage: show_usage:
printf("Usage:\n%s\n", cmdtp->usage); return cmd_usage(cmdtp);
return 1;
}
/* parse the behavior */ /* parse the behavior */
ulong sub_cmd; ulong sub_cmd;