usb: dwc3: gadget: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 12:56:26 +0000 (14:56 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:40 +0000 (11:16 +0200)
commit1e1930bd3d9c6174eba1e3ca4135fd25ea3ad59c
tree83129ede5383fc977ca344c0b07ec0939f07930f
parentf07bd56bbdaa2340ebf46af9a37e7b2d1b4578e3
usb: dwc3: gadget: let udc-core manage gadget->dev

We don't need to register that device ourselves
if we simply set gadget->register_my_device.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c