From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Jean Delvare" <khali@linux-fr.org>
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 08:16:13 -0400 [thread overview]
Message-ID: <9e4733910804290516g1fd0b653jae63e811409e00f9@mail.gmail.com> (raw)
In-Reply-To: <20080429124621.07e6efd6@hyperion.delvare>
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?
> +
> + return 1;
> +}
--
Jon Smirl
jonsmirl@gmail.com
next prev parent reply other threads:[~2008-04-29 12:16 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 [this message]
2008-04-29 12:49 ` Jean Delvare
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=9e4733910804290516g1fd0b653jae63e811409e00f9@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=i2c@lm-sensors.org \
--cc=kay.sievers@vrfy.org \
--cc=khali@linux-fr.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).