Re: [PATCH 7/7 v3] usb/gadget: remove global struct usb_composite_driver in composite

2012-08-24 Thread Alan Stern
On Fri, 24 Aug 2012, Sebastian Andrzej Siewior wrote: > This patch removes the global variable usb_composite_driver() 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"

[PATCH 7/7 v3] usb/gadget: remove global struct usb_composite_driver in composite

2012-08-24 Thread Sebastian Andrzej Siewior
This patch removes the global variable usb_composite_driver() 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 b