commit | e7afddb2b4d24fba318f5e74216bae06dcb36a10 | [log] [tgz] |
---|---|---|
author | Anson Huang <anson.huang@nxp.com> | Wed Mar 27 06:18:20 2019 +0000 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Apr 04 10:07:11 2019 +0200 |
tree | 921ca809c9d11d83b4cd4fea831ca735981b5c12 | |
parent | 184a182ed52a9b224cfa081a01e920c6ab1ce0bd [diff] |
rtc: snvs: use dev_pm_set_wake_irq() to simplify code With calling dev_pm_set_wake_irq() to set SNVS RTC as wakeup source for suspend, generic wake irq mechanism will automatically enable it as wakeup source when suspend, then the suspend/resume callback which are ONLY for enabling/disabling irq wake can be removed, it simplifies the code. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>