Skip to content

Commit

Permalink
usb: gadget: fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
  • Loading branch information
JuliaLawall authored and Felipe Balbi committed Jan 12, 2015
1 parent d71b0d7 commit 90f9e53
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/gadget/udc/bdc/bdc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 90f9e53

Please sign in to comment.