summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/fusb300_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 10:03:46 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-18 10:17:20 +0100
commit9502d03c429860f83370615922bcb45050417ad8 (patch)
treede077b3e382e4164a8364af68481ff44d18f439d /drivers/usb/gadget/fusb300_udc.c
parentusb: gadget: bcm63xx_udc: remove unnecessary initializations (diff)
downloadlinux-9502d03c429860f83370615922bcb45050417ad8.tar.xz
linux-9502d03c429860f83370615922bcb45050417ad8.zip
usb: gadget: fusb300_udc: remove unnecessary initializations
udc-core nos sets dma-related and parent fields for us, we don't need to do it ourselves. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/fusb300_udc.c')
-rw-r--r--drivers/usb/gadget/fusb300_udc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c
index 5c9dd064767f..7f48aa6a5d3f 100644
--- a/drivers/usb/gadget/fusb300_udc.c
+++ b/drivers/usb/gadget/fusb300_udc.c
@@ -1420,8 +1420,6 @@ static int __init fusb300_probe(struct platform_device *pdev)
fusb300->gadget.ops = &fusb300_gadget_ops;
fusb300->gadget.max_speed = USB_SPEED_HIGH;
- fusb300->gadget.dev.parent = &pdev->dev;
- fusb300->gadget.dev.dma_mask = pdev->dev.dma_mask;
fusb300->gadget.dev.release = pdev->dev.release;
fusb300->gadget.name = udc_name;
fusb300->reg = reg;