From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 1/2] GPIO: Tegra2: add GPIO driver for Tegra2
Date: Fri, 3 Jun 2011 00:55:20 -0400 [thread overview]
Message-ID: <201106030055.22348.vapier@gentoo.org> (raw)
In-Reply-To: <BANLkTi=Z7Tb7s1ghjkieRz812EOyM8ttJA@mail.gmail.com>
On Thursday, June 02, 2011 17:55:55 Tom Warren wrote:
> Actually, if you do a kompare between cmd_gpio.c and tegra2_gpio.c,
> there's virtually no 'duplicated' code, just 2 different
> implementations of do_gpio, with different args and parsing of params,
> etc. I use info, port, input and output, and cmd_gpio uses input,
> set, clear and toggle.
you're duplicating functionality. if the common cmd_gpio.c lacks features
that yours adds, then send a patch to extend cmd_gpio.c. the fact that yours
takes different arguments to do the same thing is irrelevant. change your
scripts and/or muscle memory to the common cmd_gpio.c.
> Note that the PCA953x GPIO driver also does it's own cmd parsing in
> do_pca953x().
then someone should clean it up
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110603/40a400c5/attachment.pgp
next prev parent reply other threads:[~2011-06-03 4:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-03 16:49 [U-Boot] [PATCH V2 1/2] GPIO: Tegra2: add GPIO driver for Tegra2 Michael Walle
2011-05-03 19:29 ` Mike Frysinger
2011-06-02 20:00 ` Tom Warren
2011-06-02 20:56 ` Wolfgang Denk
2011-06-02 21:30 ` Tom Warren
2011-06-02 21:34 ` Wolfgang Denk
2011-06-02 21:55 ` Tom Warren
2011-06-03 4:36 ` Wolfgang Denk
2011-06-03 4:55 ` Mike Frysinger [this message]
2011-06-03 4:53 ` Mike Frysinger
2011-06-03 16:01 ` Tom Warren
-- strict thread matches above, loose matches on Subject: below --
2011-05-02 22:45 [U-Boot] [PATCH V2 0/2] " Tom Warren
2011-05-02 22:45 ` [U-Boot] [PATCH V2 1/2] " Tom Warren
2011-05-02 23:15 ` Mike Frysinger
2011-05-02 23:16 ` Tom Warren
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=201106030055.22348.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox