]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_mdio.c
Convert cmd_usage() calls in common to use a return value
[karo-tx-uboot.git] / common / cmd_mdio.c
index 4ac9de4acf27112b870a26ae5962365b0d786ac9..77d8df12c5eacc04ea299a1f28b6c1181d7b5f60 100644 (file)
@@ -193,7 +193,7 @@ static int do_mdio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        struct mii_dev *bus;
 
        if (argc < 2)
-               return cmd_usage(cmdtp);
+               return CMD_RET_USAGE;
 
        /*
         * We use the last specified parameters, unless new ones are