/* Return: 0 if no error, else returns appropriate error value.  */
static int do_remoteproc(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
/* Return: 0 if no error, else returns appropriate error value.  */
static int do_remoteproc(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
{
	cmd_tbl_t *c = NULL;
	argc--;
	argv++;
	if (argc)
		c = find_cmd_tbl(argv[0], cmd_remoteproc_sub,
				 ARRAY_SIZE(cmd_remoteproc_sub));
	if (c)
		return c->cmd(cmdtp, flag, argc, argv);
	return CMD_RET_USAGE;
}