toshiba_acpi: Unify hotkey enabling functions
authorAzael Avalos <coproscefalo@gmail.com>
Wed, 9 Sep 2015 17:28:19 +0000 (11:28 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 3 Oct 2015 15:40:44 +0000 (08:40 -0700)
commitb116fd009a73fc83f05241152ea9300304e6826c
tree0b327f8306f5f65e6f60f177f24160da075e9eec
parent9ffecb10283508260936b96022d4ee43a7798b4c
toshiba_acpi: Unify hotkey enabling functions

Currently the driver has two functions enabling hotkeys support,
but these two functions can be merged into one.

This patch merges these two functions, moving some checks to the
*enable_hotkeys function, simplifying code in the process.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c
This page took 0.038476 seconds and 5 git commands to generate.