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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
YueHaibing 2019-10-06 18:53:52 +08:00 committed by David S. Miller
parent b4d5191371
commit 04c1b4c70d
1 changed files with 0 additions and 1 deletions

View File

@ -279,7 +279,6 @@ MODULE_DEVICE_TABLE(of, of_s3fwrn5_i2c_match);
static struct i2c_driver s3fwrn5_i2c_driver = { static struct i2c_driver s3fwrn5_i2c_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = S3FWRN5_I2C_DRIVER_NAME, .name = S3FWRN5_I2C_DRIVER_NAME,
.of_match_table = of_match_ptr(of_s3fwrn5_i2c_match), .of_match_table = of_match_ptr(of_s3fwrn5_i2c_match),
}, },