From: Greg KH <greg@kroah.com>
To: Kenn Humborg <kenn@linux.ie>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Platform device matching
Date: Sat, 1 May 2004 23:55:48 -0700 [thread overview]
Message-ID: <20040502065548.GH3766@kroah.com> (raw)
In-Reply-To: <20040425233510.GA30747@excalibur.research.wombat.ie>
On Mon, Apr 26, 2004 at 12:35:10AM +0100, Kenn Humborg wrote:
> On Mon, Apr 26, 2004 at 12:27:33AM +0100, Russell King wrote:
> > pdev->name is the platform device name, which is just the <name> part.
> > pdev->dev.bus_id is the device model name, which is <name><instance-number>,
> > and the devices are known by this name.
> >
> > Rather than going to the trouble of parsing <name> from the device model
> > name which would be inherently buggy, we reference it directly from the
> > platform_device structure.
>
> OK - I see it now.
>
> > So, this comment needs updating:
> >
> > * So, extract the <name> from the device, and compare it against
> > * the name of the driver. Return whether they match or not.
>
> Want a patch?
Applied, thanks.
greg k-h
prev parent reply other threads:[~2004-05-02 6:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-25 22:05 Platform device matching Kenn Humborg
2004-04-25 23:00 ` Russell King
2004-04-25 23:17 ` Kenn Humborg
2004-04-25 23:27 ` Russell King
2004-04-25 23:35 ` Kenn Humborg
2004-05-02 6:55 ` Greg KH [this message]
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=20040502065548.GH3766@kroah.com \
--to=greg@kroah.com \
--cc=kenn@linux.ie \
--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