commit | 3b2dc19ff9a1495cf08752b5a1ba8b986473f39f | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Tue Apr 30 11:28:19 2019 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Tue Apr 30 11:50:20 2019 +0200 |
tree | 501756bf8b35fe93dea170a2d1913f0180062bde | |
parent | e72746e7912300ca48c427c3614569fcddd2e7f0 [diff] |
rtc: jz4740: use dev_pm_set_wake_irq() to simplify code Use dev_pm_set_wake_irq() to set the RTC as a wakeup source for suspend. This allows to remove the whole dev_pm_ops structure. Tested-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>