[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191006105352.59324-1-yuehaibing@huawei.com>
Date:   Sun, 6 Oct 2019 18:53:52 +0800
From:   YueHaibing <yuehaibing@...wei.com>
To:     <r.baldyga@...sung.com>, <k.opasiak@...sung.com>,
        <davem@...emloft.net>, <sameo@...ux.intel.com>
CC:     <linux-nfc@...ts.01.org>, <netdev@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH net-next] nfc: s3fwrn5: fix platform_no_drv_owner.cocci warning
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@...wei.com>
---
 drivers/nfc/s3fwrn5/i2c.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/nfc/s3fwrn5/i2c.c b/drivers/nfc/s3fwrn5/i2c.c
index e4f7fa0..b4eb926 100644
--- a/drivers/nfc/s3fwrn5/i2c.c
+++ b/drivers/nfc/s3fwrn5/i2c.c
@@ -279,7 +279,6 @@ MODULE_DEVICE_TABLE(of, of_s3fwrn5_i2c_match);
 
 static struct i2c_driver s3fwrn5_i2c_driver = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = S3FWRN5_I2C_DRIVER_NAME,
 		.of_match_table = of_match_ptr(of_s3fwrn5_i2c_match),
 	},
-- 
2.7.4
Powered by blists - more mailing lists