summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-07-26 16:59:00 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-07-27 09:51:25 +0200
commit144d2fe0ad371c940063ab2acca81a2915bcef3d (patch)
tree7291858d4407febed57c47a8649346e5f45649b2 /drivers/rtc
parentrtc: at91sam9: Fix missing spin_lock_init() (diff)
downloadlinux-144d2fe0ad371c940063ab2acca81a2915bcef3d.tar.xz
linux-144d2fe0ad371c940063ab2acca81a2915bcef3d.zip
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@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-asm9260.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-asm9260.c b/drivers/rtc/rtc-asm9260.c
index 355fdb97a006..5219916ce11d 100644
--- a/drivers/rtc/rtc-asm9260.c
+++ b/drivers/rtc/rtc-asm9260.c
@@ -343,7 +343,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,
},
};