diff options
| author | Anson Huang <anson.huang@nxp.com> | 2019-03-27 06:18:20 +0000 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-04 10:07:11 +0200 |
| commit | e7afddb2b4d24fba318f5e74216bae06dcb36a10 (patch) | |
| tree | 921ca809c9d11d83b4cd4fea831ca735981b5c12 /lib/mpi/mpi-internal.h | |
| 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>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
