projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
981e070
)
usb: gadget: pch_udc: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 09:17:25 +0000
(11:17 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:26 +0000
(11:17 +0200)
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>
drivers/usb/gadget/pch_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/pch_udc.c
b/drivers/usb/gadget/pch_udc.c
index e8c9afd8fbf0aca6a4a3eb3fe2b7e1d9ecb4b6ec..c1db902ebb7fa6fe1f1269ddf58071ee1ee95abc 100644
(file)
--- 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;