diff options
| author | Mao Jinlong <jinlmao@codeaurora.org> | 2017-10-27 11:15:55 +0800 |
|---|---|---|
| committer | Mao Jinlong <jinlmao@codeaurora.org> | 2018-12-27 18:22:40 +0530 |
| commit | 5e0025e7664769fd15e6d968e10e800a88aabcfb (patch) | |
| tree | e682e375e6a44f0b616eef1cb8280dc4551bfb14 /drivers/rtc/qpnp-rtc.c | |
| parent | 86bc01ea1bf42a60ef21bdba5ecdb5a50b6a7a25 (diff) | |
Revert "rtc: alarm: Add power-on alarm feature"
This reverts commit 2e1a4aefef66db901f9a906b79e30187f10dbecb.
Power off alarm is not set via alarmtimer now. Remove the changes
of power off alarm's previous design.
Change-Id: I0f60bec0d94c93c4f2a89ae86a1b0a0d04aa9e48
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Diffstat (limited to 'drivers/rtc/qpnp-rtc.c')
| -rw-r--r-- | drivers/rtc/qpnp-rtc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/qpnp-rtc.c b/drivers/rtc/qpnp-rtc.c index bafcebb810de..af51225a9066 100644 --- a/drivers/rtc/qpnp-rtc.c +++ b/drivers/rtc/qpnp-rtc.c @@ -22,7 +22,6 @@ #include <linux/spmi.h> #include <linux/platform_device.h> #include <linux/spinlock.h> -#include <linux/alarmtimer.h> /* RTC/ALARM Register offsets */ #define REG_OFFSET_ALARM_RW 0x40 @@ -608,9 +607,6 @@ static int qpnp_rtc_probe(struct platform_device *pdev) goto fail_rtc_enable; } - /* Init power_on_alarm after adding rtc device */ - power_on_alarm_init(); - /* Request the alarm IRQ */ rc = request_any_context_irq(rtc_dd->rtc_alarm_irq, qpnp_alarm_trigger, IRQF_TRIGGER_RISING, |
