summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 12:59:40 (GMT)
committerFelipe Balbi <balbi@ti.com>2013-03-18 09:17:30 (GMT)
commit8a1c33075e5e42074397aa8478fc16481e306b31 (patch)
tree88b3664b58ee141853b86bbd4bf33eced40ff130
parent5e6e3d3814004a509c9023abfc86ddea6803f8e1 (diff)
downloadlinux-8a1c33075e5e42074397aa8478fc16481e306b31.tar.xz
usb: gadget: fsl_udc_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>
-rw-r--r--drivers/usb/gadget/fsl_udc_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c
index c948241..acb176d 100644
--- a/drivers/usb/gadget/fsl_udc_core.c
+++ b/drivers/usb/gadget/fsl_udc_core.c
@@ -2497,7 +2497,6 @@ static int __init fsl_udc_probe(struct platform_device *pdev)
/* Setup gadget.dev and register with kernel */
dev_set_name(&udc_controller->gadget.dev, "gadget");
udc_controller->gadget.dev.release = fsl_udc_release;
- udc_controller->gadget.dev.parent = &pdev->dev;
udc_controller->gadget.dev.of_node = pdev->dev.of_node;
if (!IS_ERR_OR_NULL(udc_controller->transceiver))