thinkpad-acpi: remove uneeded tp_features.hotkey tests in hotkey_exit
commitd5bf108d94dd6e2fab62f1c21c142e54d45fb9b6
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 20 Sep 2009 18:24:57 +0000 (20 15:24 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 20 Sep 2009 18:24:57 +0000 (20 15:24 -0300)
tree55c6223ba4c42bc9b480ee249d55eee6eb5c3e1d
parentded0f940ef59f2074615a862b2fd7e50bb16c9c6
thinkpad-acpi: remove uneeded tp_features.hotkey tests in hotkey_exit

hotkey_exit() is only called if hotkey_init() finished sucessfully, or
by direct calls inside hotkey_init().  The tp_features.hotkey test is
always true, and just adds to the confusion, remove it.  Also, avoid
calling hotkey_mask_set() when it won't do anything useful.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/platform/x86/thinkpad_acpi.c