提交 b4d51913 编写于 作者: Y YueHaibing 提交者: David S. Miller

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: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 59d55789
...@@ -278,7 +278,6 @@ static struct i2c_driver nfcmrvl_i2c_driver = { ...@@ -278,7 +278,6 @@ static struct i2c_driver nfcmrvl_i2c_driver = {
.remove = nfcmrvl_i2c_remove, .remove = nfcmrvl_i2c_remove,
.driver = { .driver = {
.name = "nfcmrvl_i2c", .name = "nfcmrvl_i2c",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_nfcmrvl_i2c_match), .of_match_table = of_match_ptr(of_nfcmrvl_i2c_match),
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册