usb: chipidea: let udc-core manage gadget->dev
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 15:36:39 +0000 (17:36 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:54 +0000 (11:16 +0200)
commitdc9e2873b740331b186b8f315fd18bbc97108d2e
tree89c76b811385ada11d90c62c951a4f317f68ae47
parent45f596a6d776532f03135d48f10a1164006f9466
usb: chipidea: let udc-core manage gadget->dev

By simply setting a flag, we can drop some
boilerplate code.

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