diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-10-06 18:52:17 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-06 18:38:28 +0200 |
commit | b4d5191371a9db53e527749c6cf3bd7f000aa6a2 (patch) | |
tree | 523eaa7a4155ad9989b76edbf1dcd95b426facdc /drivers/nfc/nfcmrvl/i2c.c | |
parent | 59d55789def92c504784295be7980d5e63c90896 (diff) | |
download | linux-b4d5191371a9db53e527749c6cf3bd7f000aa6a2.tar.gz linux-b4d5191371a9db53e527749c6cf3bd7f000aa6a2.tar.bz2 linux-b4d5191371a9db53e527749c6cf3bd7f000aa6a2.zip |
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.c | 1 |
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), }, }; |