diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2016-05-24 00:39:51 +0200 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-05-27 20:47:55 +0200 |
commit | afcedebc6a094224973534f43b396bbbf33fe44e (patch) | |
tree | f8f3741b8e432615db8d3628717a7121c3289428 /drivers/watchdog/at32ap700x_wdt.c | |
parent | intel_menlow: reduce code duplication (diff) | |
download | linux-afcedebc6a094224973534f43b396bbbf33fe44e.tar.xz linux-afcedebc6a094224973534f43b396bbbf33fe44e.zip |
thinkpad_acpi: save kbdlight state on suspend and restore it on resume
Override default LED class suspend/resume handles, by keeping track of
the brightness level before suspending so that it can be automatically
restored on resume by calling default resume handler.
Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/watchdog/at32ap700x_wdt.c')
0 files changed, 0 insertions, 0 deletions