From: Julia Lawall Date: Wed, 26 Nov 2014 06:00:45 +0000 (+0100) Subject: usb: gadget: fix platform_no_drv_owner.cocci warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=90f9e53345d307f53b040e7a50193f20f88ab87a;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index c6dfef8c7bbc..5c8f4effb62a 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,