From: YueHaibing Date: Thu, 19 Mar 2020 12:11:27 +0000 (+0000) Subject: net: ipa: fix platform_no_drv_owner.cocci warnings X-Git-Tag: v5.7-rc1~146^2~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a351e7fb94f5114d614c8d8e4fcc15b7105032cd;p=thirdparty%2Fkernel%2Flinux.git net: ipa: fix platform_no_drv_owner.cocci warnings 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 Reviewed-by: Alex Elder Signed-off-by: David S. Miller --- diff --git a/drivers/net/ipa/ipa_main.c b/drivers/net/ipa/ipa_main.c index d6e7f257e99d6..28998dcce3d2d 100644 --- a/drivers/net/ipa/ipa_main.c +++ b/drivers/net/ipa/ipa_main.c @@ -942,7 +942,6 @@ static struct platform_driver ipa_driver = { .remove = ipa_remove, .driver = { .name = "ipa", - .owner = THIS_MODULE, .pm = &ipa_pm_ops, .of_match_table = ipa_match, },