diff mbox series

[net-next] net: ipa: fix platform_no_drv_owner.cocci warnings

Message ID 20200319121127.30944-1-yuehaibing@huawei.com
State New
Headers show
Series [net-next] net: ipa: fix platform_no_drv_owner.cocci warnings | expand

Commit Message

Yue Haibing March 19, 2020, 12:11 p.m. UTC
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>
---
 drivers/net/ipa/ipa_main.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/ipa/ipa_main.c b/drivers/net/ipa/ipa_main.c
index d6e7f257e99d..28998dcce3d2 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,
 	},