]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/platform/x86/thinkpad_acpi.c
ACPI / video: Revert "thinkpad_acpi: Use acpi_video_handles_brightness_key_presses()"
[karo-tx-linux.git] / drivers / platform / x86 / thinkpad_acpi.c
index f453d5dc085eb2d7e595bb70f04f4529cf423c6b..0bed4733c4f04925831a174b6b58e674ca2fe56c 100644 (file)
@@ -3488,7 +3488,7 @@ static int __init hotkey_init(struct ibm_init_struct *iibm)
        /* Do not issue duplicate brightness change events to
         * userspace. tpacpi_detect_brightness_capabilities() must have
         * been called before this point  */
-       if (acpi_video_handles_brightness_key_presses()) {
+       if (acpi_video_get_backlight_type() != acpi_backlight_vendor) {
                pr_info("This ThinkPad has standard ACPI backlight "
                        "brightness control, supported by the ACPI "
                        "video driver\n");