diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 11:13:28 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:23 +0200 |
commit | 2b5ced1a0cf2407e2bbe66e49687f6eb59d5df94 (patch) | |
tree | 78c3c1b93b0acb74ba601872ac310d9fd4a1e329 /drivers/usb/gadget/mv_u3d_core.c | |
parent | 1048d83d5bfcbf1c71391fc1aae57326e940149c (diff) | |
download | op-kernel-dev-2b5ced1a0cf2407e2bbe66e49687f6eb59d5df94.zip op-kernel-dev-2b5ced1a0cf2407e2bbe66e49687f6eb59d5df94.tar.gz |
usb: gadget: mv_u3d_core: 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/mv_u3d_core.c')
-rw-r--r-- | drivers/usb/gadget/mv_u3d_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c index e5735fc..e6521b1 100644 --- a/drivers/usb/gadget/mv_u3d_core.c +++ b/drivers/usb/gadget/mv_u3d_core.c @@ -1955,8 +1955,6 @@ static int mv_u3d_probe(struct platform_device *dev) u3d->gadget.speed = USB_SPEED_UNKNOWN; /* speed */ /* the "gadget" abstracts/virtualizes the controller */ - u3d->gadget.dev.parent = &dev->dev; - u3d->gadget.dev.dma_mask = dev->dev.dma_mask; u3d->gadget.dev.release = mv_u3d_gadget_release; u3d->gadget.name = driver_name; /* gadget name */ |