Loading drivers/platform/x86/asus-wmi.c +17 −17 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * Asus PC WMI hotkey driver * * Copyright(C) 2010 Intel Corporation. * Copyright(C) 2010 Corentin Chary <corentin.chary@gmail.com> * Copyright(C) 2010-2011 Corentin Chary <corentin.chary@gmail.com> * * Portions based on wistron_btns.c: * Copyright (C) 2005 Miloslav Trmac <mitr@volny.cz> Loading Loading @@ -903,7 +903,9 @@ static void asus_wmi_notify(u32 value, void *context) obj = (union acpi_object *)response.pointer; if (obj && obj->type == ACPI_TYPE_INTEGER) { if (!obj || obj->type != ACPI_TYPE_INTEGER) goto exit; code = obj->integer.value; orig_code = code; Loading @@ -916,12 +918,10 @@ static void asus_wmi_notify(u32 value, void *context) if (code == NOTIFY_BRNUP_MIN || code == NOTIFY_BRNDOWN_MIN) { if (!acpi_video_backlight_support()) asus_wmi_backlight_notify(asus, orig_code); } if (!sparse_keymap_report_event(asus->inputdev, code, 1, true)) } else if (!sparse_keymap_report_event(asus->inputdev, code, 1, true)) pr_info("Unknown key %x pressed\n", code); } exit: kfree(obj); } Loading drivers/platform/x86/eeepc-wmi.c +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * Eee PC WMI hotkey driver * * Copyright(C) 2010 Intel Corporation. * Copyright(C) 2010 Corentin Chary <corentin.chary@gmail.com> * Copyright(C) 2010-2011 Corentin Chary <corentin.chary@gmail.com> * * Portions based on wistron_btns.c: * Copyright (C) 2005 Miloslav Trmac <mitr@volny.cz> Loading Loading
drivers/platform/x86/asus-wmi.c +17 −17 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * Asus PC WMI hotkey driver * * Copyright(C) 2010 Intel Corporation. * Copyright(C) 2010 Corentin Chary <corentin.chary@gmail.com> * Copyright(C) 2010-2011 Corentin Chary <corentin.chary@gmail.com> * * Portions based on wistron_btns.c: * Copyright (C) 2005 Miloslav Trmac <mitr@volny.cz> Loading Loading @@ -903,7 +903,9 @@ static void asus_wmi_notify(u32 value, void *context) obj = (union acpi_object *)response.pointer; if (obj && obj->type == ACPI_TYPE_INTEGER) { if (!obj || obj->type != ACPI_TYPE_INTEGER) goto exit; code = obj->integer.value; orig_code = code; Loading @@ -916,12 +918,10 @@ static void asus_wmi_notify(u32 value, void *context) if (code == NOTIFY_BRNUP_MIN || code == NOTIFY_BRNDOWN_MIN) { if (!acpi_video_backlight_support()) asus_wmi_backlight_notify(asus, orig_code); } if (!sparse_keymap_report_event(asus->inputdev, code, 1, true)) } else if (!sparse_keymap_report_event(asus->inputdev, code, 1, true)) pr_info("Unknown key %x pressed\n", code); } exit: kfree(obj); } Loading
drivers/platform/x86/eeepc-wmi.c +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * Eee PC WMI hotkey driver * * Copyright(C) 2010 Intel Corporation. * Copyright(C) 2010 Corentin Chary <corentin.chary@gmail.com> * Copyright(C) 2010-2011 Corentin Chary <corentin.chary@gmail.com> * * Portions based on wistron_btns.c: * Copyright (C) 2005 Miloslav Trmac <mitr@volny.cz> Loading