commit | b116fd009a73fc83f05241152ea9300304e6826c | [log] [tgz] |
---|---|---|
author | Azael Avalos <coproscefalo@gmail.com> | Wed Sep 09 11:28:19 2015 -0600 |
committer | Darren Hart <dvhart@linux.intel.com> | Sat Oct 03 08:40:44 2015 -0700 |
tree | 0b327f8306f5f65e6f60f177f24160da075e9eec | |
parent | 9ffecb10283508260936b96022d4ee43a7798b4c [diff] |
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>