From: Gerd Knorr <kraxel@bytesex.org>
To: Greg KH <greg@kroah.com>
Cc: Kernel List <linux-kernel@vger.kernel.org>,
Frank Davis <fdavis@si.rr.com>
Subject: Re: [patch] add i2c_clientname()
Date: Thu, 3 Apr 2003 10:57:57 +0200 [thread overview]
Message-ID: <20030403085757.GA13683@bytesex.org> (raw)
In-Reply-To: <20030403010112.GA5407@kroah.com>
> > 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 :)
I don't, interfacing with the i2c core is not that much code in most
drivers.
> > +#define I2C_DEVNAME(str) .dev = { .name = str }
>
> Why this macro? You don't use it in your driver, right?
I use it in my current driver code (patches are at
http://bytesex.org/patches/wip/). Submitting those patches doesn't
make sense before that patch is in because I would get flooded with
"bttv doesn't compile any more" style mails ...
Gerd
--
Michael Moore for president!
next prev parent reply other threads:[~2003-04-03 9:38 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
2003-04-03 8:57 ` Gerd Knorr [this message]
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=20030403085757.GA13683@bytesex.org \
--to=kraxel@bytesex.org \
--cc=fdavis@si.rr.com \
--cc=greg@kroah.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox