diff options
author | Hans de Goede <[email protected]> | 2015-12-22 19:09:50 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-01-01 03:14:51 +0100 |
commit | 7714687a2b2d4afcfac8c3bcc99ace16efa98882 (patch) | |
tree | 1edf13b0be4ec33f3d4b59ef3bf12c3038aff37f /drivers/fpga/fpga-mgr.c | |
parent | 61679c725553ccffd8b281955186410550bd1eaf (diff) |
thinkpad_acpi: Use acpi_video_handles_brightness_key_presses()
Use the new acpi_video_handles_brightness_key_presses function to check
if we should report brightness key-presses.
This makes the code both easier to read and makes it properly report
key-presses when acpi-video is not reporting them for reasons other
then the backlight type being vendor.
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Henrique de Moraes Holschuh <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions