diff options
| author | Hans de Goede <[email protected]> | 2015-12-22 19:09:49 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-01-01 03:14:51 +0100 |
| commit | 61679c725553ccffd8b281955186410550bd1eaf (patch) | |
| tree | ed5cb265cad9545a42390d75cad2de6b15bbd080 /lib/pm-notifier-error-inject.c | |
| parent | 90b066b15eda028ed44299f01236f8576dd8551d (diff) | |
dell-wmi: 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: Pali Rohár <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions