usb: gadget: dummy-hcd: remember to update driver pointer
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 20 Aug 2012 20:12:47 +0000 (16:12 -0400)
committerFelipe Balbi <balbi@ti.com>
Fri, 31 Aug 2012 09:41:39 +0000 (12:41 +0300)
commitd0d860758bd350206242962a223858bd01cd8a93
treee1333e8594bd0857bb51a87da655287836bab101
parentc4846a1807fc6138e2f010d65757feb4b7b0c2cf
usb: gadget: dummy-hcd: remember to update driver pointer

This patch (as1599) fixes dummy-hcd to make it update the appropriate
driver pointer when a new gadget driver is bound or unbound.  Without
this change, the gadget driver's name doesn't appear in dev_printk
output.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/dummy_hcd.c