diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-06 03:44:07 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-02-06 20:59:24 +0300 |
commit | a5c5e50cce9db7b550691e3ae801ecd4c1e59787 (patch) | |
tree | e861ac02986e62e94247049cc167c06a0fa78400 /block | |
parent | 3c1697e6bc5cbe51e8e86446ab0482318a762637 (diff) | |
download | linux-a5c5e50cce9db7b550691e3ae801ecd4c1e59787.tar.xz |
Input: gpio-keys - add shutdown callback
On some platforms (e.g.: ARCH_BRCMSTB) it is possible to enter
"poweroff" while leaving some wake-up sources enabled such as key
presses in order to allow for the system to wake-up.
Wire up a .shutdown() callback which calls into the existing
gpio_keys_suspend() since the logic is essentially the same.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions