diff options
author | Anson Huang <anson.huang@nxp.com> | 2019-04-04 01:15:44 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-04-04 21:51:28 +0300 |
commit | fb3c09ba20fff0fb7c5a6bcb2091dc62b6cce5e0 (patch) | |
tree | c8a905e459ce437805c193f006ea6cfc7bf16388 /drivers/input/serio/Kconfig | |
parent | 24541dede9dbe0638c82ace2b072c08fd1ec786b (diff) | |
download | linux-fb3c09ba20fff0fb7c5a6bcb2091dc62b6cce5e0.tar.xz |
Input: snvs_pwrkey - use dev_pm_set_wake_irq() to simplify code
With calling dev_pm_set_wake_irq() to set SNVS ON/OFF button
as wakeup source for suspend, generic wake irq mechanism
will automatically enable it as wakeup source when suspend,
then the enable_irq_wake()/disable_irq_wake() can be removed
in suspend/resume callback, it simplifies the code.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio/Kconfig')
0 files changed, 0 insertions, 0 deletions