From 739b8080af30d6de73b13725abe27275dd3b27f6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 29 Jul 2010 13:42:10 -0400 Subject: [PATCH] dataflash mmc mux: use common cmd_usage function Signed-off-by: Mike Frysinger --- common/cmd_dataflash_mmc_mux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/cmd_dataflash_mmc_mux.c b/common/cmd_dataflash_mmc_mux.c index de4e676157..fc23ed6ff2 100644 --- a/common/cmd_dataflash_mmc_mux.c +++ b/common/cmd_dataflash_mmc_mux.c @@ -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; } -- 2.39.5