diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 11:04:34 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:20 +0200 |
commit | 1a36315c976bb1e0f8aa6e18c149a951d685cc20 (patch) | |
tree | aeb0a7a5387def3d04f1db4bee64fa56b8f0fe75 /drivers/usb/gadget/goku_udc.c | |
parent | 9502d03c429860f83370615922bcb45050417ad8 (diff) | |
download | op-kernel-dev-1a36315c976bb1e0f8aa6e18c149a951d685cc20.zip op-kernel-dev-1a36315c976bb1e0f8aa6e18c149a951d685cc20.tar.gz |
usb: gadget: goku_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/goku_udc.c')
-rw-r--r-- | drivers/usb/gadget/goku_udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/goku_udc.c b/drivers/usb/gadget/goku_udc.c index 8a6c666..c02cbdd 100644 --- a/drivers/usb/gadget/goku_udc.c +++ b/drivers/usb/gadget/goku_udc.c @@ -1754,8 +1754,6 @@ static int goku_probe(struct pci_dev *pdev, const struct pci_device_id *id) dev->gadget.max_speed = USB_SPEED_FULL; /* the "gadget" abstracts/virtualizes the controller */ - dev->gadget.dev.parent = &pdev->dev; - dev->gadget.dev.dma_mask = pdev->dev.dma_mask; dev->gadget.dev.release = gadget_release; dev->gadget.name = driver_name; |