On Thu, 7 Jun 2012, Stefani Seibold wrote: > That what i am looking for. If we do an usb_get_intf() in the > skel_probe() function and an usb_put_intf() in skel_delete() function at > the end, then it should be save to access the usb_device pointer by > interface_to_usbdev() in the skel_delete() function. Right? Safe, yes, but unnecessary. Just get rid of the usb_put_dev() in skel_delete and the usb_get_dev in skel_probe. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html