Re: [PATCH 7/7 really v3] usb/gadget: remove global variable composite in composite.c

2012-08-24 Thread Michal Nazarewicz
Sebastian Andrzej Siewior writes: > 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,

[PATCH 7/7 really v3] usb/gadget: remove global variable composite in composite.c

2012-08-24 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