]> git.sur5r.net Git - u-boot/commitdiff
dataflash mmc mux: use common cmd_usage function
authorMike Frysinger <vapier@gentoo.org>
Thu, 29 Jul 2010 17:42:10 +0000 (13:42 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 8 Aug 2010 22:32:26 +0000 (00:32 +0200)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_dataflash_mmc_mux.c

index de4e67615751969f144d276ce12d86e2325a8a91..fc23ed6ff26179b35c3bb7c991a9e67b3c29bdb3 100644 (file)
@@ -41,8 +41,7 @@ int do_dataflash_mmc_mux (cmd_tbl_t *cmdtp, int flag, int argc, char * const arg
                        AT91F_GetMuxStatus () ? "MMC" : "SPI");
                return 0;
        default:
-               printf ("Usage:\n%s\n", cmdtp->usage);
-               return 1;
+               return cmd_usage(cmdtp);
        }
        return 0;
 }