forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
59d55789de
commit
b4d5191371
|
@ -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),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user