phy: usb: phy-brcm-usb: Fix platform_no_drv_owner.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Thu, 6 Jun 2019 04:28:40 +0000 (04:28 +0000)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 20 Jun 2019 08:43:59 +0000 (14:13 +0530)
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@huawei.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/broadcom/phy-brcm-usb.c

index f59b1dc30399b874b979628bff24a3310eaad414..5283d70a82c955f7d7f0ed0e1b92ba886fce4bb2 100644 (file)
@@ -443,7 +443,6 @@ static struct platform_driver brcm_usb_driver = {
        .probe          = brcm_usb_phy_probe,
        .driver         = {
                .name   = "brcmstb-usb-phy",
-               .owner  = THIS_MODULE,
                .pm = &brcm_usb_phy_pm_ops,
                .of_match_table = brcm_usb_dt_ids,
        },