From: Wei Yongjun Date: Thu, 15 Sep 2016 02:26:10 +0000 (+0000) Subject: net: emac: remove .owner field for driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d7b47a3c78e0b5391a18246f9637752a4565e5b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: emac: remove .owner field for driver 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/qualcomm/emac/emac.c b/drivers/net/ethernet/qualcomm/emac/emac.c index 42d2d233b60f..e47d38701d6c 100644 --- a/drivers/net/ethernet/qualcomm/emac/emac.c +++ b/drivers/net/ethernet/qualcomm/emac/emac.c @@ -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, },