* [PATCH -next] wan/fsl_ucc_hdlc: remove .owner field for driver
@ 2016-07-19 11:25 Wei Yongjun
2016-07-20 21:48 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2016-07-19 11:25 UTC (permalink / raw)
To: Zhao Qiang; +Cc: Wei Yongjun, netdev, linuxppc-dev
From: Wei Yongjun <yongjun_wei@trendmicro.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@trendmicro.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,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] wan/fsl_ucc_hdlc: remove .owner field for driver
2016-07-19 11:25 [PATCH -next] wan/fsl_ucc_hdlc: remove .owner field for driver Wei Yongjun
@ 2016-07-20 21:48 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-07-20 21:48 UTC (permalink / raw)
To: weiyj_lk; +Cc: qiang.zhao, yongjun_wei, netdev, linuxppc-dev
From: Wei Yongjun <weiyj_lk@163.com>
Date: Tue, 19 Jul 2016 11:25:03 +0000
> From: Wei Yongjun <yongjun_wei@trendmicro.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@trendmicro.com.cn>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-20 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19 11:25 [PATCH -next] wan/fsl_ucc_hdlc: remove .owner field for driver Wei Yongjun
2016-07-20 21:48 ` 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).