[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1605345333-23386-1-git-send-email-zou_wei@huawei.com>
Date: Sat, 14 Nov 2020 17:15:33 +0800
From: Zou Wei <zou_wei@...wei.com>
To: <jassisinghbrar@...il.com>
CC: <linux-kernel@...r.kernel.org>, Zou Wei <zou_wei@...wei.com>
Subject: [PATCH -next] mailbox: pcc: fix platform_no_drv_owner.cocci warning
./drivers/mailbox/pcc.c:580:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Zou Wei <zou_wei@...wei.com>
---
drivers/mailbox/pcc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index ef9ecd1..4b1a2d2 100644
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -577,7 +577,6 @@ static struct platform_driver pcc_mbox_driver = {
.probe = pcc_mbox_probe,
.driver = {
.name = "PCCT",
- .owner = THIS_MODULE,
},
};
--
2.6.2
Powered by blists - more mailing lists