On Wed, Aug 15, 2012 at 09:59:16PM +0200, Sebastian Andrzej Siewior wrote:
> The direct user of the gadget driver (composite, dbgp, inode,
> file_storage) keeps a global variable where it stores a pointer to
> something which identifies the "current" instance from the time calling
> usb_gadget_prob
The direct user of the gadget driver (composite, dbgp, inode,
file_storage) keeps a global variable where it stores a pointer to
something which identifies the "current" instance from the time calling
usb_gadget_probe_driver() and later in its ->bind() callback.
This patch passes the struct usb_gad