]> git.baikalelectronics.ru Git - kernel.git/commit
toshiba_acpi: Change notify funtion to handle more events
authorAzael Avalos <coproscefalo@gmail.com>
Fri, 5 Dec 2014 03:22:46 +0000 (20:22 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 3 Dec 2014 18:10:17 +0000 (10:10 -0800)
commit8b5a5ad251dc6f7434c60ad47d6b3293e3e8c967
treea68142f2fd8f368dce09c7aa3bfd5a7efd829b85
parent06ef54a0b1a37ddd5225933e1ea5b17c1fbd26b9
toshiba_acpi: Change notify funtion to handle more events

Currently the function toshiba_acpi_notify only takes care of hotkeys,
however, the TOSXXXX devices receive more events that can be useful.

This patch changes the function to be able to handle more events,
and in the process, move all hotkey related code residing in it to
a new function called toshiba_acpi_process_hotkeys.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c