]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
phy: fix platform_no_drv_owner.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Thu, 14 Feb 2019 01:51:17 +0000 (01:51 +0000)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 06:36:02 +0000 (12:06 +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/marvell/phy-mvebu-a3700-utmi.c

index 94a29dea57af37f9d9d873bb796d62e5fda699e2..ded900b06f5aa01b2e1e545828406267ba3af237 100644 (file)
@@ -266,7 +266,6 @@ static struct platform_driver mvebu_a3700_utmi_driver = {
        .probe  = mvebu_a3700_utmi_phy_probe,
        .driver = {
                .name           = "mvebu-a3700-utmi-phy",
-               .owner          = THIS_MODULE,
                .of_match_table = mvebu_a3700_utmi_of_match,
         },
 };