On Wed, Aug 19, 2009 at 03:35:03PM +0200, Oliver Neukum wrote: > > > +Driver implications > > +=================== > > + > > +int usb_alloc_streams(struct usb_driver *driver, > > + struct usb_device *dev, > > This is very problematic. We never pass the usb_driver. Subsystems > like usb serial might not even have it available. Is this needed for anything > but debugging? You can get the driver from the device if it's really needed. Along those lines, how about the interface instead of device? That's what we are trying to always use now. thanks, greg k-h -- 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