![]() | |||||||||||||
Messages in this thread |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 14:02 [from the cache] ©2003-2008 | |||||||||||||