Commit 90f9e533 authored by Julia Lawall's avatar Julia Lawall Committed by Felipe Balbi

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: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent d71b0d77
...@@ -521,7 +521,6 @@ static int bdc_remove(struct platform_device *pdev) ...@@ -521,7 +521,6 @@ static int bdc_remove(struct platform_device *pdev)
static struct platform_driver bdc_driver = { static struct platform_driver bdc_driver = {
.driver = { .driver = {
.name = BRCM_BDC_NAME, .name = BRCM_BDC_NAME,
.owner = THIS_MODULE
}, },
.probe = bdc_probe, .probe = bdc_probe,
.remove = bdc_remove, .remove = bdc_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment