Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1450638 > unrolled thread

[PATCH -next] rtc: asm9260: remove .owner field for driver

Started byWei Yongjun <weiyj.lk@gmail.com>
First post2016-07-26 17:00 +0200
Last post2016-07-27 10:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH -next] rtc: asm9260: remove .owner field for driver Wei Yongjun <weiyj.lk@gmail.com> - 2016-07-26 17:00 +0200
    Re: [PATCH -next] rtc: asm9260: remove .owner field for driver Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-07-27 10:00 +0200

#1450638 — [PATCH -next] rtc: asm9260: remove .owner field for driver

FromWei Yongjun <weiyj.lk@gmail.com>
Date2016-07-26 17:00 +0200
Subject[PATCH -next] rtc: asm9260: remove .owner field for driver
Message-ID<rZbZT-3d1-11@gated-at.bofh.it>
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,
 	},
 };

[toc] | [next] | [standalone]


#1451104

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2016-07-27 10:00 +0200
Message-ID<rZrUZ-4X3-11@gated-at.bofh.it>
In reply to#1450638
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web