aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/pch_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 11:17:25 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:17:26 +0200
commit91497600e27abf38ca00ead504fe2fdffab7e5c4 (patch)
tree41542401716bfc58fb503c69c436b8d186a674af /drivers/usb/gadget/pch_udc.c
parent981e070fdde4316d5a8d0c9681db505ba6a833eb (diff)
downloadkernel_goldelico_gta04-91497600e27abf38ca00ead504fe2fdffab7e5c4.zip
kernel_goldelico_gta04-91497600e27abf38ca00ead504fe2fdffab7e5c4.tar.gz
kernel_goldelico_gta04-91497600e27abf38ca00ead504fe2fdffab7e5c4.tar.bz2
usb: gadget: pch_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/pch_udc.c')
-rw-r--r--drivers/usb/gadget/pch_udc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/pch_udc.c b/drivers/usb/gadget/pch_udc.c
index e8c9afd..c1db902 100644
--- a/drivers/usb/gadget/pch_udc.c
+++ b/drivers/usb/gadget/pch_udc.c
@@ -3193,8 +3193,6 @@ static int pch_udc_probe(struct pci_dev *pdev,
if (retval)
goto finished;
- dev->gadget.dev.parent = &pdev->dev;
- dev->gadget.dev.dma_mask = pdev->dev.dma_mask;
dev->gadget.dev.release = gadget_release;
dev->gadget.name = KBUILD_MODNAME;
dev->gadget.max_speed = USB_SPEED_HIGH;