]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
nfc: nfcmrvl: fix platform_no_drv_owner.cocci warning
authorYueHaibing <yuehaibing@huawei.com>
Sun, 6 Oct 2019 10:52:17 +0000 (18:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 16:38:28 +0000 (18:38 +0200)
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>
drivers/nfc/nfcmrvl/i2c.c

index 0f22379887ca8cb86c43d87b2880a7b9b0bf3791..18cd96284b77a3b6827473b56f94dcc3fefdb5c3 100644 (file)
@@ -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),
        },
 };