From: Jean Delvare <khali@linux-fr.org>
To: "Jon Smirl" <jonsmirl@gmail.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>,
linuxppc-dev list <linuxppc-dev@ozlabs.org>,
Paul Mundt <lethal@linux-sh.org>, Linux I2C <i2c@lm-sensors.org>,
Scott Wood <scottwood@freescale.com>
Subject: Re: [PATCH 1/2 v2] i2c: Add support for device alias names
Date: Tue, 29 Apr 2008 14:49:16 +0200 [thread overview]
Message-ID: <20080429144916.59b46313@hyperion.delvare> (raw)
In-Reply-To: <9e4733910804290516g1fd0b653jae63e811409e00f9@mail.gmail.com>
Hi Jon,
On Tue, 29 Apr 2008 08:16:13 -0400, Jon Smirl wrote:
> On 4/29/08, Jean Delvare <khali@linux-fr.org> wrote:
> > Based on earlier work by Jon Smirl and Jochen Friedrich.
> > +/* Looks like: i2c:S */
> > +static int do_i2c_entry(const char *filename, struct i2c_device_id *id,
> > + char *alias)
> > +{
> > + sprintf(alias, I2C_MODULE_PREFIX "%s", id->name);
>
> Do you want to add the colon?
Not yet. This can be added later anyway, so I'd rather push the
known-to-work patches as is for now, and we fix this detail between rc1
and rc2. For now I am still in favor of removing the "*" we don't need,
I'll send a patch doing this later today (I hope) for discussion.
> > +
> > + return 1;
> > +}
Thanks,
--
Jean Delvare
next prev parent reply other threads:[~2008-04-29 12:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-29 10:42 [PATCH 0/2 v2] i2c: Add support for device alias names Jean Delvare
2008-04-29 10:46 ` [PATCH 1/2 " Jean Delvare
2008-04-29 12:16 ` Jon Smirl
2008-04-29 12:49 ` Jean Delvare [this message]
2008-04-29 10:47 ` [PATCH 2/2 v2] i2c: Convert most new-style drivers to use module aliasing Jean Delvare
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=20080429144916.59b46313@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=i2c@lm-sensors.org \
--cc=jonsmirl@gmail.com \
--cc=kay.sievers@vrfy.org \
--cc=lethal@linux-sh.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=scottwood@freescale.com \
/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;
as well as URLs for NNTP newsgroup(s).