diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 16:41:00 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 10:16:55 +0100 |
commit | 7bce401cc6db5508ef2517e45bd8caf7ce0a15ee (patch) | |
tree | 1372eb8462d2f1c69258bed063ee69ab87706a02 /drivers/usb/gadget/net2280.c | |
parent | usb: chipidea: let udc-core manage gadget->dev (diff) | |
download | linux-7bce401cc6db5508ef2517e45bd8caf7ce0a15ee.tar.xz linux-7bce401cc6db5508ef2517e45bd8caf7ce0a15ee.zip |
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/net2280.c')
-rw-r--r-- | drivers/usb/gadget/net2280.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index c55af4293509..2089d9b0058c 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c @@ -2714,7 +2714,6 @@ static int net2280_probe (struct pci_dev *pdev, const struct pci_device_id *id) dev->gadget.dev.dma_mask = pdev->dev.dma_mask; dev->gadget.dev.release = gadget_release; dev->gadget.name = driver_name; - dev->gadget.register_my_device = true; /* now all the pci goodies ... */ if (pci_enable_device (pdev) < 0) { |