diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-02-06 15:38:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-10 15:34:02 +0100 |
commit | fda4ae1819ce3603857a6baceda53d2c46d5bbd9 (patch) | |
tree | 3e1d4ba0a0155e452b64d38fd4fd8a689c86218e /drivers/misc/hpilo.h | |
parent | misc: panel: Add lcd_home() helper (diff) | |
download | linux-fda4ae1819ce3603857a6baceda53d2c46d5bbd9.tar.xz linux-fda4ae1819ce3603857a6baceda53d2c46d5bbd9.zip |
misc: panel: Abstract temporary backlight handling
Currently the periodic scan timer is used for three purposes,
entangling keypad and display handling, which are both optional:
1. Scanning the keypad,
2. Flashing the backlight when a key is pressed,
3. Disabling temporary backlighting after a fixed period of time.
Abstract the second purpose using a new lcd_poke() function.
Make the non-periodic temporary backlight handling independent from
keypad handling by converting it to a delayed workqueue.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/hpilo.h')
0 files changed, 0 insertions, 0 deletions