]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_otp.c
Convert cmd_usage() calls in common to use a return value
[karo-tx-uboot.git] / common / cmd_otp.c
index eb93eb2db986073d257c5d19084035f26ff3d538..6f933355176296ac2541d0b45960dfbef87bb27d 100644 (file)
@@ -89,7 +89,7 @@ int do_otp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
        if (argc < 4) {
  usage:
-               return cmd_usage(cmdtp);
+               return CMD_RET_USAGE;
        }
 
        prompt_user = false;