On Mon, Sep 15, 2003 at 03:42:05PM -0700, David Brownell wrote:
>       * Use device_del() not device_unregister(), which matches
>         with using device_add() to create the devices instead of
>         device_register() ... resolves one refcounting problem.

Hm, how does it do that?
If you want to call device_del() yourself, you have to do the final
put_device() on the device.  I don't see that happening here.  What is
the refcounting issue?

Combining device_initialize() and device_add() is the same as
device_register(), it's just in 2 steps.  It is safe to call
device_unregister() after doing that.

thanks,

greg k-h


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to