Skip to content
Snippets Groups Projects
Commit c8cf4fc4 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: gpio: use common usage func

parent b990c7bd
No related branches found
No related tags found
Loading
...@@ -26,11 +26,9 @@ int do_gpio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment