Re: [PATCH 08/29] usb/gadget: remove global variable composite in composite.c

2012-09-06 Thread Michal Nazarewicz
On Thu, Sep 06 2012, Sebastian Andrzej Siewior wrote: > This patch removes the global variable composite in composite.c. > The private data which was saved there is now passed via an additional > argument to the bind() function in struct usb_gadget_driver. > > Only the "old-style" UDC drivers have

[PATCH 08/29] usb/gadget: remove global variable composite in composite.c

2012-09-06 Thread Sebastian Andrzej Siewior
This patch removes the global variable composite in composite.c. The private data which was saved there is now passed via an additional argument to the bind() function in struct usb_gadget_driver. Only the "old-style" UDC drivers have to be touched here, new style are doing it right because this c