summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/thinkpad_acpi.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-12-22 18:09:49 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-01-01 02:14:51 (GMT)
commit61679c725553ccffd8b281955186410550bd1eaf (patch)
treeed5cb265cad9545a42390d75cad2de6b15bbd080 /drivers/platform/x86/thinkpad_acpi.c
parent90b066b15eda028ed44299f01236f8576dd8551d (diff)
downloadlinux-61679c725553ccffd8b281955186410550bd1eaf.tar.xz
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 <hdegoede@redhat.com> Acked-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
0 files changed, 0 insertions, 0 deletions