diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-30 12:28:19 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-30 12:50:20 +0300 |
commit | 3b2dc19ff9a1495cf08752b5a1ba8b986473f39f (patch) | |
tree | 501756bf8b35fe93dea170a2d1913f0180062bde /drivers/rtc/rtc-mpc5121.c | |
parent | e72746e7912300ca48c427c3614569fcddd2e7f0 (diff) | |
download | linux-3b2dc19ff9a1495cf08752b5a1ba8b986473f39f.tar.xz |
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>
Diffstat (limited to 'drivers/rtc/rtc-mpc5121.c')
0 files changed, 0 insertions, 0 deletions