toshiba_acpi: Initialize hotkey_event_type variable
authorAzael Avalos <coproscefalo@gmail.com>
Wed, 4 Nov 2015 16:28:26 +0000 (09:28 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 6 Nov 2015 00:09:24 +0000 (16:09 -0800)
commitd2f20619942fe4618160a7fa3dbdcbac335cff59
tree17314544909f8bd4ab5e133556b0448238acfc20
parent9d1d459bf52b4a07a934558e055bb61ad82f44cd
toshiba_acpi: Initialize hotkey_event_type variable

Commit 53147b6cabee5e8d1997b5682fcc0c3b72ddf9c2 ("toshiba_acpi: Fix
hotkeys registration on some toshiba models") fixed an issue on some
laptops regarding hotkeys registration, however, if failed to address
the initialization of the hotkey_event_type variable, and thus, it can
lead to potential unwanted effects as the variable is being checked.

This patch initializes such variable to avoid such unwanted effects.

Cc: <stable@vger.kernel.org> # 4.1+
Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c