netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] nfc: nfcmrvl: fix platform_no_drv_owner.cocci warning
@ 2019-10-06 10:52 YueHaibing
  2019-10-06 16:39 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-10-06 10:52 UTC (permalink / raw)
  To: davem, sameo; +Cc: netdev, linux-kernel, YueHaibing

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/nfc/nfcmrvl/i2c.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/nfc/nfcmrvl/i2c.c b/drivers/nfc/nfcmrvl/i2c.c
index 0f22379..18cd962 100644
--- a/drivers/nfc/nfcmrvl/i2c.c
+++ b/drivers/nfc/nfcmrvl/i2c.c
@@ -278,7 +278,6 @@ static struct i2c_driver nfcmrvl_i2c_driver = {
 	.remove = nfcmrvl_i2c_remove,
 	.driver = {
 		.name		= "nfcmrvl_i2c",
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match_ptr(of_nfcmrvl_i2c_match),
 	},
 };
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] nfc: nfcmrvl: fix platform_no_drv_owner.cocci warning
  2019-10-06 10:52 [PATCH net-next] nfc: nfcmrvl: fix platform_no_drv_owner.cocci warning YueHaibing
@ 2019-10-06 16:39 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-10-06 16:39 UTC (permalink / raw)
  To: yuehaibing; +Cc: sameo, netdev, linux-kernel

From: YueHaibing <yuehaibing@huawei.com>
Date: Sun, 6 Oct 2019 18:52:17 +0800

> 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>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-06 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-06 10:52 [PATCH net-next] nfc: nfcmrvl: fix platform_no_drv_owner.cocci warning YueHaibing
2019-10-06 16:39 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).