[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1469545140-32640-1-git-send-email-weiyj.lk@gmail.com>
Date: Tue, 26 Jul 2016 14:59:00 +0000
From: Wei Yongjun <weiyj.lk@...il.com>
To: Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>
Cc: Wei Yongjun <weiyj.lk@...il.com>, rtc-linux@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: [PATCH -next] rtc: asm9260: remove .owner field for driver
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@...il.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,
},
};
Powered by blists - more mailing lists