net: emac: remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 15 Sep 2016 02:26:10 +0000 (02:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 08:25:50 +0000 (04:25 -0400)
Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac.c

index 42d2d233b60fbdb6d4a7608635508e27d83a8578..e47d38701d6c995a8d0d20edb0a73cbe1d286f9a 100644 (file)
@@ -730,7 +730,6 @@ static struct platform_driver emac_platform_driver = {
        .probe  = emac_probe,
        .remove = emac_remove,
        .driver = {
-               .owner          = THIS_MODULE,
                .name           = "qcom-emac",
                .of_match_table = emac_dt_match,
        },