Re: [PATCH 1/3] usb-serial: device_register before calling attach

Greg KH <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wed, Feb 21, 2007 at 03:28:51PM -0800, Jim Radford wrote:
> Allow usb-serial driver's attach callback to create sysfs attributes,
> by calling device_register, before calling ->attach().

No, if you want to do this kind of "attach" you can do it today in the
port_probe() function that you will be called with the proper structure.

Care to rework your patch series because of this?

thanks,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.