diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 17:41:00 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:16:55 +0200 |
commit | 7bce401cc6db5508ef2517e45bd8caf7ce0a15ee (patch) | |
tree | 1372eb8462d2f1c69258bed063ee69ab87706a02 /drivers/usb/gadget/pch_udc.c | |
parent | dc9e2873b740331b186b8f315fd18bbc97108d2e (diff) | |
download | op-kernel-dev-7bce401cc6db5508ef2517e45bd8caf7ce0a15ee.zip op-kernel-dev-7bce401cc6db5508ef2517e45bd8caf7ce0a15ee.tar.gz |
usb: gadget: drop now unnecessary flag
We don't need the ->register_my_device flag
anymore because all UDC drivers have been
properly converted.
Let's remove every history of it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/pch_udc.c')
-rw-r--r-- | drivers/usb/gadget/pch_udc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pch_udc.c b/drivers/usb/gadget/pch_udc.c index 7032145..e8c9afd 100644 --- a/drivers/usb/gadget/pch_udc.c +++ b/drivers/usb/gadget/pch_udc.c @@ -3198,7 +3198,6 @@ static int pch_udc_probe(struct pci_dev *pdev, dev->gadget.dev.release = gadget_release; dev->gadget.name = KBUILD_MODNAME; dev->gadget.max_speed = USB_SPEED_HIGH; - dev->gadget.register_my_device = true; /* Put the device in disconnected state till a driver is bound */ pch_udc_set_disconnect(dev); |