summaryrefslogtreecommitdiff
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
parent1560d0848a1a84db6c1d9b17c14273c0dae41828 (diff)
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 */