On Mon, Mar 13, 2006 at 03:01:45PM -0800, Pete Zaitcev wrote:
> On Mon, 13 Mar 2006 16:31:35 -0600, Paul Fulghum <[EMAIL PROTECTED]> wrote:
> 
> > >>>         sysfs_remove_link(&class_dev->kobj, "device");
> > >>>         sysfs_remove_link(&class_dev->dev->kobj, class_name);
> 
> The second one is probably where it dies. We only hold the interface,
> but not the device.

By virtue of the inheritance, you can't delete the parent before the
child.  The interface is a child of the device, so we should be fine
here.

"should" being the operative word...

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to