projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6966fe8
)
usb: gadget: pxa27x_udc: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 09:20:39 +0000
(11:20 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:27 +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/pxa27x_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/pxa27x_udc.c
b/drivers/usb/gadget/pxa27x_udc.c
index 3276a6d278fd9d9d2e3e1b37ad895511d36c3882..5fda425f263f95adf906296659541d3d597bc9b3 100644
(file)
--- a/
drivers/usb/gadget/pxa27x_udc.c
+++ b/
drivers/usb/gadget/pxa27x_udc.c
@@
-2453,8
+2453,6
@@
static int pxa_udc_probe(struct platform_device *pdev)
goto err_map;
}
- udc->gadget.dev.parent = &pdev->dev;
- udc->gadget.dev.dma_mask = NULL;
udc->vbus_sensed = 0;
the_controller = udc;