diff options
author | Anson Huang <anson.huang@nxp.com> | 2019-04-11 02:06:04 +0000 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-11 23:18:32 +0200 |
commit | bc0e731fc2893f96037ef5125e40fd28c6b97bd9 (patch) | |
tree | dc96abdb78cd7a0e3fab254cd5666bc20540967e /drivers/rtc/rtc-lpc32xx.c | |
parent | rtc: rx8025: Fix a parameter to %ptR in rx8025_read_alarm() (diff) | |
download | linux-dev-bc0e731fc2893f96037ef5125e40fd28c6b97bd9.tar.xz linux-dev-bc0e731fc2893f96037ef5125e40fd28c6b97bd9.zip |
rtc: mxc: use dev_pm_set_wake_irq() to simplify code
With calling dev_pm_set_wake_irq() to set MXC 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 'drivers/rtc/rtc-lpc32xx.c')
0 files changed, 0 insertions, 0 deletions