projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d5191
)
nfc: s3fwrn5: fix platform_no_drv_owner.cocci warning
author
YueHaibing
<yuehaibing@huawei.com>
Sun, 6 Oct 2019 10:53:52 +0000
(18:53 +0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 6 Oct 2019 16:38:52 +0000
(18:38 +0200)
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>
drivers/nfc/s3fwrn5/i2c.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/s3fwrn5/i2c.c
b/drivers/nfc/s3fwrn5/i2c.c
index
e4f7fa0
..
b4eb926
100644
(file)
--- 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),
},