summaryrefslogtreecommitdiff
path: root/drivers/nfc/nfcmrvl/i2c.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-10-06 13:52:17 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-06 19:38:28 +0300
commitb4d5191371a9db53e527749c6cf3bd7f000aa6a2 (patch)
tree523eaa7a4155ad9989b76edbf1dcd95b426facdc /drivers/nfc/nfcmrvl/i2c.c
parent59d55789def92c504784295be7980d5e63c90896 (diff)
downloadlinux-b4d5191371a9db53e527749c6cf3bd7f000aa6a2.tar.xz
nfc: nfcmrvl: 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/nfcmrvl/i2c.c')
-rw-r--r--drivers/nfc/nfcmrvl/i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/nfcmrvl/i2c.c b/drivers/nfc/nfcmrvl/i2c.c
index 0f22379887ca..18cd96284b77 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),
},
};