summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-25 14:58:10 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-26 15:08:53 +0200
commitacecb3ad8b21a519ce4ad728106d45d4e978bb56 (patch)
treefe275bcd4dd62c55faead9de0973a46e3656ac5a /drivers/rtc/class.c
parentrtc: remove rtc_irq_register/rtc_irq_unregister (diff)
downloadlinux-acecb3ad8b21a519ce4ad728106d45d4e978bb56.tar.xz
linux-acecb3ad8b21a519ce4ad728106d45d4e978bb56.zip
rtc: remove irq_task and irq_task_lock
There is no way to set a periodic task anymore, remove task pointer and lock. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/class.c')
-rw-r--r--drivers/rtc/class.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index 7fa32c922617..0fca4d74c76b 100644
--- a/drivers/rtc/class.c
+++ b/drivers/rtc/class.c
@@ -172,7 +172,6 @@ static struct rtc_device *rtc_allocate_device(void)
mutex_init(&rtc->ops_lock);
spin_lock_init(&rtc->irq_lock);
- spin_lock_init(&rtc->irq_task_lock);
init_waitqueue_head(&rtc->irq_queue);
/* Init timerqueue */