Skip to content
Snippets Groups Projects
Commit 739b8080 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

dataflash mmc mux: use common cmd_usage function

parent a7481b35
No related branches found
No related tags found
No related merge requests found
...@@ -41,8 +41,7 @@ int do_dataflash_mmc_mux (cmd_tbl_t *cmdtp, int flag, int argc, char * const arg ...@@ -41,8 +41,7 @@ int do_dataflash_mmc_mux (cmd_tbl_t *cmdtp, int flag, int argc, char * const arg
AT91F_GetMuxStatus () ? "MMC" : "SPI"); AT91F_GetMuxStatus () ? "MMC" : "SPI");
return 0; return 0;
default: default:
printf ("Usage:\n%s\n", cmdtp->usage); return cmd_usage(cmdtp);
return 1;
} }
return 0; return 0;
} }
......
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