netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] net: wan: slic_ds26522: Remove .owner field for driver
@ 2016-10-17 14:51 Wei Yongjun
  2016-10-17 20:38 ` Javier Martinez Canillas
  2017-02-06 15:26 ` [PATCH net-next v2] " Wei Yongjun
  0 siblings, 2 replies; 4+ messages in thread
From: Wei Yongjun @ 2016-10-17 14:51 UTC (permalink / raw)
  To: Javier Martinez Canillas, Zhao Qiang; +Cc: Wei Yongjun, netdev

From: Wei Yongjun <weiyongjun1@huawei.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@huawei.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 b776a0a..5bca31c 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,

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-07 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-17 14:51 [PATCH -next] net: wan: slic_ds26522: Remove .owner field for driver Wei Yongjun
2016-10-17 20:38 ` Javier Martinez Canillas
2017-02-06 15:26 ` [PATCH net-next v2] " Wei Yongjun
2017-02-07 16:43   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).