Skip to content

Commit

Permalink
nfc: nfcmrvl: fix platform_no_drv_owner.cocci warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YueHaibing authored and David S. Miller committed Oct 6, 2019
1 parent 59d5578 commit b4d5191
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/nfc/nfcmrvl/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
};
Expand Down

0 comments on commit b4d5191

Please sign in to comment.