[PATCH -next] phy: usb: phy-brcm-usb: Fix platform_no_drv_owner.cocci warnings
From: YueHaibing
Date: Thu Jun 06 2019 - 00:25:10 EST
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
drivers/phy/broadcom/phy-brcm-usb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/phy/broadcom/phy-brcm-usb.c b/drivers/phy/broadcom/phy-brcm-usb.c
index 292d5b3fc66c..f050de6fd109 100644
--- a/drivers/phy/broadcom/phy-brcm-usb.c
+++ b/drivers/phy/broadcom/phy-brcm-usb.c
@@ -451,7 +451,6 @@ static struct platform_driver brcm_usb_driver = {
.remove = brcm_usb_phy_remove,
.driver = {
.name = "brcmstb-usb-phy",
- .owner = THIS_MODULE,
.pm = &brcm_usb_phy_pm_ops,
.of_match_table = brcm_usb_dt_ids,
},