diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-02-06 16:26:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-07 17:41:15 +0100 |
commit | fee402211ff2d2f0a136a9d77b30d66aeea193b8 (patch) | |
tree | 37f35fc4f2be63fcd24b10093dbccf11d7ba2827 /drivers/net/wan | |
parent | net: wan: slic_ds26522: Use module_spi_driver to simplify the code (diff) | |
download | linux-fee402211ff2d2f0a136a9d77b30d66aeea193b8.tar.xz linux-fee402211ff2d2f0a136a9d77b30d66aeea193b8.zip |
net: wan: slic_ds26522: Remove .owner field for driver
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>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/slic_ds26522.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wan/slic_ds26522.c b/drivers/net/wan/slic_ds26522.c index 2cdcee2be16c..1f6bc8791d51 100644 --- a/drivers/net/wan/slic_ds26522.c +++ b/drivers/net/wan/slic_ds26522.c @@ -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, |