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)
commit71454d78d3c4b05d598822298459a94f04825f3f
treea68142f2fd8f368dce09c7aa3bfd5a7efd829b85
parent1f28f2908e40f56794f2fa6bd1fa0e7beaba1a5d
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