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

Commit 593e789f authored by Vasyl Gomonovych's avatar Vasyl Gomonovych Committed by Felipe Balbi
Browse files

usb: bdc: fix platform_no_drv_owner.cocci warnings



Remove .owner field if calls are used which set it automatically

drivers/usb/gadget/udc/bdc/bdc_core.c:645:3-8: No need to set .owner here. The core will do it.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: default avatarVasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 30bf90cc
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -642,7 +642,6 @@ static const struct of_device_id bdc_of_match[] = {
static struct platform_driver bdc_driver = {
	.driver		= {
		.name	= BRCM_BDC_NAME,
		.owner	= THIS_MODULE,
		.pm = &bdc_pm_ops,
		.of_match_table	= bdc_of_match,
	},