summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2014-11-26 06:00:45 (GMT)
committerFelipe Balbi <balbi@ti.com>2015-01-12 18:13:26 (GMT)
commit90f9e53345d307f53b040e7a50193f20f88ab87a (patch)
tree445cf8235ca1d90045ffd96a7a2e4b802156d56f
parentd71b0d7764a7b018bf73ae44f67dc8545e614eef (diff)
downloadlinux-90f9e53345d307f53b040e7a50193f20f88ab87a.tar.xz
usb: gadget: fix platform_no_drv_owner.cocci warnings
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>
-rw-r--r--drivers/usb/gadget/udc/bdc/bdc_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
index c6dfef8..5c8f4ef 100644
--- 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,