thinkpad-acpi: remove uneeded tp_features.hotkey tests in hotkey_exit
commit5e524894ed75e4a87f8c86d1608c035ccc4e5cb9
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 10 Nov 2009 23:12:46 +0000 (10 21:12 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 10 Nov 2009 23:12:46 +0000 (10 21:12 -0200)
tree424be3e50fa335eb185a241812e27c40f55c433b
parent7091e42081d11ca545df7271163dcdae3dd85d23
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