toshiba_acpi: Adapt /proc/acpi/toshiba/keys to TOS1900 devices
authorAzael Avalos <coproscefalo@gmail.com>
Thu, 23 Jul 2015 00:09:10 +0000 (18:09 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 24 Jul 2015 21:12:36 +0000 (14:12 -0700)
commit7deef550f3a7d44c1d52a6d54f824e7e180c08ae
tree764678ebd4926fae7f824c1d8a52a45f09eb8ca6
parent52721d9d3334c1cb1f76219a161084094ec634dc
toshiba_acpi: Adapt /proc/acpi/toshiba/keys to TOS1900 devices

Since the introduction of TOS1900 devices support to the driver, the
"keys" entry under the proc directory was broken, given that it only
handled TOS620X devices accordingly.

This patch adapts the code to show the hotkey values of TOS1900
devices too, and in case some programs are still using that interface,
hotkeys reporting should now work on these devices.

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