summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/s3c-hsotg.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 16:41:00 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-18 10:16:55 +0100
commit7bce401cc6db5508ef2517e45bd8caf7ce0a15ee (patch)
tree1372eb8462d2f1c69258bed063ee69ab87706a02 /drivers/usb/gadget/s3c-hsotg.c
parentusb: chipidea: let udc-core manage gadget->dev (diff)
downloadlinux-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/s3c-hsotg.c')
-rw-r--r--drivers/usb/gadget/s3c-hsotg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 5fbd233eb6a0..8ae0bd99ffde 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -3573,7 +3573,6 @@ static int s3c_hsotg_probe(struct platform_device *pdev)
hsotg->gadget.dev.parent = dev;
hsotg->gadget.dev.dma_mask = dev->dma_mask;
hsotg->gadget.dev.release = s3c_hsotg_release;
- hsotg->gadget.register_my_device = true;
/* reset the system */