Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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,