]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: gadget: fix platform_no_drv_owner.cocci warnings
authorJulia Lawall <julia.lawall@lip6.fr>
Wed, 26 Nov 2014 06:00:45 +0000 (07:00 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:26 +0000 (12:13 -0600)
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>
drivers/usb/gadget/udc/bdc/bdc_core.c

index c6dfef8c7bbc9660cfb2634dbec5f4e14bbb972a..5c8f4effb62ac2ef09ae65e9fcddb707ff9d473c 100644 (file)
@@ -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,