net: wan: slic_ds26522: Remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 6 Feb 2017 15:26:17 +0000 (15:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 16:41:15 +0000 (11:41 -0500)
Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/slic_ds26522.c

index 2cdcee2..1f6bc87 100644 (file)
@@ -241,7 +241,6 @@ static struct spi_driver slic_ds26522_driver = {
        .driver = {
                   .name = "ds26522",
                   .bus = &spi_bus_type,
-                  .owner = THIS_MODULE,
                   .of_match_table = slic_ds26522_match,
                   },
        .probe = slic_ds26522_probe,