浏览代码

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>
Julia Lawall 10 年之前
父节点
当前提交
90f9e53345
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/usb/gadget/udc/bdc/bdc_core.c

+ 0 - 1
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,