diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-10-06 13:53:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-06 19:38:52 +0300 |
commit | 04c1b4c70de958c229fc3d63298b807909a6f31a (patch) | |
tree | 5b77355d5e815c641d42478f215e7653ddacd1a3 /drivers/nfc/s3fwrn5 | |
parent | b4d5191371a9db53e527749c6cf3bd7f000aa6a2 (diff) | |
download | linux-04c1b4c70de958c229fc3d63298b807909a6f31a.tar.xz |
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>
Diffstat (limited to 'drivers/nfc/s3fwrn5')
-rw-r--r-- | drivers/nfc/s3fwrn5/i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/s3fwrn5/i2c.c b/drivers/nfc/s3fwrn5/i2c.c index e4f7fa00862d..b4eb926d220a 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), }, |