[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1468927503-32482-1-git-send-email-weiyj_lk@163.com>
Date: Tue, 19 Jul 2016 11:25:03 +0000
From: Wei Yongjun <weiyj_lk@....com>
To: Zhao Qiang <qiang.zhao@....com>
Cc: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH -next] wan/fsl_ucc_hdlc: remove .owner field for driver
From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
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 <yongjun_wei@...ndmicro.com.cn>
---
drivers/net/wan/fsl_ucc_hdlc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c
index b3861bf..10ca497 100644
--- a/drivers/net/wan/fsl_ucc_hdlc.c
+++ b/drivers/net/wan/fsl_ucc_hdlc.c
@@ -1168,7 +1168,6 @@ static struct platform_driver ucc_hdlc_driver = {
.probe = ucc_hdlc_probe,
.remove = ucc_hdlc_remove,
.driver = {
- .owner = THIS_MODULE,
.name = DRV_NAME,
.pm = HDLC_PM_OPS,
.of_match_table = fsl_ucc_hdlc_of_match,
Powered by blists - more mailing lists