[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170206152617.8637-1-weiyj.lk@gmail.com>
Date: Mon, 6 Feb 2017 15:26:17 +0000
From: Wei Yongjun <weiyj.lk@...il.com>
To: Javier Martinez Canillas <javier@....samsung.com>,
Zhao Qiang <qiang.zhao@....com>,
Colin Ian King <colin.king@...onical.com>
Cc: Wei Yongjun <weiyongjun1@...wei.com>, netdev@...r.kernel.org
Subject: [PATCH net-next v2] net: wan: slic_ds26522: Remove .owner field for driver
From: Wei Yongjun <weiyongjun1@...wei.com>
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@...wei.com>
---
drivers/net/wan/slic_ds26522.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wan/slic_ds26522.c b/drivers/net/wan/slic_ds26522.c
index 9d9b4e0..f80fb4f 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,
Powered by blists - more mailing lists