diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 11:23:52 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:28 +0200 |
commit | 4c422049bd0f373b79b3dfbb7f984958c80bc7aa (patch) | |
tree | 8249f48b9bc7ce3eb9742fa559ef34dcac897efe | |
parent | 2015760c2e626cc71ecd471648941b29789972bf (diff) | |
download | op-kernel-dev-4c422049bd0f373b79b3dfbb7f984958c80bc7aa.zip op-kernel-dev-4c422049bd0f373b79b3dfbb7f984958c80bc7aa.tar.gz |
usb: gadget: s3c-hsudc: 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>
-rw-r--r-- | drivers/usb/gadget/s3c-hsudc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c index 7fc3de5..8db7b10 100644 --- a/drivers/usb/gadget/s3c-hsudc.c +++ b/drivers/usb/gadget/s3c-hsudc.c @@ -1306,8 +1306,6 @@ static int s3c_hsudc_probe(struct platform_device *pdev) hsudc->gadget.max_speed = USB_SPEED_HIGH; hsudc->gadget.ops = &s3c_hsudc_gadget_ops; hsudc->gadget.name = dev_name(dev); - hsudc->gadget.dev.parent = dev; - hsudc->gadget.dev.dma_mask = dev->dma_mask; hsudc->gadget.ep0 = &hsudc->ep[0].ep; hsudc->gadget.is_otg = 0; hsudc->gadget.is_a_peripheral = 0; |