From: Greg KH <greg@kroah.com>
To: Gerd Knorr <kraxel@bytesex.org>
Cc: Kernel List <linux-kernel@vger.kernel.org>,
Frank Davis <fdavis@si.rr.com>
Subject: Re: [patch] add i2c_clientname()
Date: Wed, 2 Apr 2003 17:01:13 -0800 [thread overview]
Message-ID: <20030403010112.GA5407@kroah.com> (raw)
In-Reply-To: <20030402165116.GA24766@bytesex.org>
On Wed, Apr 02, 2003 at 06:51:16PM +0200, Gerd Knorr wrote:
>
> This patch just adds a #define and a inline function to hide the
> "i2c_client->name" => "i2c_client->dev.name" move introduced by
> the recent i2c updates. That makes it easier to build i2c drivers
> on both 2.4 and 2.5 kernels.
This is going to be a harder and harder problem as time goes on, and as
the i2c core changes over time. I would just give up now :)
> +#define I2C_DEVNAME(str) .dev = { .name = str }
Why this macro? You don't use it in your driver, right?
thanks,
greg k-h
next prev parent reply other threads:[~2003-04-03 0:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-02 16:51 [patch] add i2c_clientname() Gerd Knorr
2003-04-03 1:01 ` Greg KH [this message]
2003-04-03 8:57 ` Gerd Knorr
2003-04-08 23:04 ` Greg KH
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=20030403010112.GA5407@kroah.com \
--to=greg@kroah.com \
--cc=fdavis@si.rr.com \
--cc=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.org \
/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.