summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_via.c
diff options
context:
space:
mode:
authorAnson Huang <anson.huang@nxp.com>2019-03-27 09:18:20 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-04 11:07:11 +0300
commite7afddb2b4d24fba318f5e74216bae06dcb36a10 (patch)
tree921ca809c9d11d83b4cd4fea831ca735981b5c12 /drivers/ata/sata_via.c
parent184a182ed52a9b224cfa081a01e920c6ab1ce0bd (diff)
downloadlinux-e7afddb2b4d24fba318f5e74216bae06dcb36a10.tar.xz
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 'drivers/ata/sata_via.c')
0 files changed, 0 insertions, 0 deletions