From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC][PATCH 08/19] i2c: fix command usage help
Date: Thu, 29 Jul 2010 10:40:17 -0500 [thread overview]
Message-ID: <1280418017.19222.202.camel@petert> (raw)
In-Reply-To: <4C515B9D.2090805@denx.de>
> {
> cmd_tbl_t *c;
>
> + if (argc < 2) {
> + cmd_usage(cmdtp);
> + return 1;
> + }
> +
Wolfgang recently made cmd_usage() return 1 so the above could be
simplified to:
if (argc < 2)
return cmd_usage(cmdtp);
Best,
Peter
next prev parent reply other threads:[~2010-07-29 15:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 10:44 [U-Boot] [RFC][PATCH 08/19] i2c: fix command usage help Heiko Schocher
2010-07-29 15:40 ` Peter Tyser [this message]
2010-07-30 6:04 ` Heiko Schocher
2010-08-03 10:15 ` [U-Boot] [RFC][PATCH v2 " Heiko Schocher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1280418017.19222.202.camel@petert \
--to=ptyser@xes-inc.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.