summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/m66592-udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 13:07:39 +0400
committerFelipe Balbi <balbi@ti.com>2013-03-18 13:17:22 +0400
commit859d02c2d84da10536d1e0f1cebfa9105023f8e6 (patch)
tree43f9f7f38cacf65de5440738b3936a633d421c03 /drivers/usb/gadget/m66592-udc.c
parent53fae098be09eeced37cf06419ae4e9c872cf0d0 (diff)
downloadlinux-859d02c2d84da10536d1e0f1cebfa9105023f8e6.tar.xz
usb: gadget: m66592-udc: remove unnecessary initializations
udc-core now 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/m66592-udc.c')
-rw-r--r--drivers/usb/gadget/m66592-udc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/m66592-udc.c b/drivers/usb/gadget/m66592-udc.c
index eb61d0b54f21..ae33e535c283 100644
--- a/drivers/usb/gadget/m66592-udc.c
+++ b/drivers/usb/gadget/m66592-udc.c
@@ -1608,8 +1608,6 @@ static int __init m66592_probe(struct platform_device *pdev)
m66592->gadget.ops = &m66592_gadget_ops;
m66592->gadget.max_speed = USB_SPEED_HIGH;
- m66592->gadget.dev.parent = &pdev->dev;
- m66592->gadget.dev.dma_mask = pdev->dev.dma_mask;
m66592->gadget.dev.release = pdev->dev.release;
m66592->gadget.name = udc_name;