public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] rtc: asm9260: remove .owner field for driver
@ 2016-07-26 14:59 Wei Yongjun
  2016-07-27  7:51 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2016-07-26 14:59 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni; +Cc: Wei Yongjun, rtc-linux, linux-kernel

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 <weiyj.lk@gmail.com>
---
 drivers/rtc/rtc-asm9260.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/rtc/rtc-asm9260.c b/drivers/rtc/rtc-asm9260.c
index 5ddcc91..e67ba5c 100644
--- a/drivers/rtc/rtc-asm9260.c
+++ b/drivers/rtc/rtc-asm9260.c
@@ -344,7 +344,6 @@ static struct platform_driver asm9260_rtc_driver = {
 	.remove		= asm9260_rtc_remove,
 	.driver		= {
 		.name	= "asm9260-rtc",
-		.owner	= THIS_MODULE,
 		.of_match_table = asm9260_dt_ids,
 	},
 };

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

* Re: [PATCH -next] rtc: asm9260: remove .owner field for driver
  2016-07-26 14:59 [PATCH -next] rtc: asm9260: remove .owner field for driver Wei Yongjun
@ 2016-07-27  7:51 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2016-07-27  7:51 UTC (permalink / raw)
  To: Wei Yongjun; +Cc: Alessandro Zummo, rtc-linux, linux-kernel

On 26/07/2016 at 14:59:00 +0000, Wei Yongjun wrote :
> 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 <weiyj.lk@gmail.com>
> ---
>  drivers/rtc/rtc-asm9260.c | 1 -
>  1 file changed, 1 deletion(-)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-07-27  7:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-26 14:59 [PATCH -next] rtc: asm9260: remove .owner field for driver Wei Yongjun
2016-07-27  7:51 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox