projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d71b0d7
)
usb: gadget: fix platform_no_drv_owner.cocci warnings
author
Julia Lawall
<julia.lawall@lip6.fr>
Wed, 26 Nov 2014 06:00:45 +0000
(07:00 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 12 Jan 2015 18:13:26 +0000
(12:13 -0600)
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/bdc/bdc_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc/bdc/bdc_core.c
b/drivers/usb/gadget/udc/bdc/bdc_core.c
index
c6dfef8
..
5c8f4ef
100644
(file)
--- a/
drivers/usb/gadget/udc/bdc/bdc_core.c
+++ b/
drivers/usb/gadget/udc/bdc/bdc_core.c
@@
-521,7
+521,6
@@
static int bdc_remove(struct platform_device *pdev)
static struct platform_driver bdc_driver = {
.driver = {
.name = BRCM_BDC_NAME,
- .owner = THIS_MODULE
},
.probe = bdc_probe,
.remove = bdc_remove,