thinkpad-acpi: remove uneeded tp_features.hotkey tests in hotkey_exit
commit14bd1010150ba0c174b72d9af8d81d9381a72b1c
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 20 Sep 2009 18:22:23 +0000 (20 15:22 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 20 Sep 2009 18:22:23 +0000 (20 15:22 -0300)
treef2e14cc32a4ec27d2ebebf514b92218ae7637790
parent8c78e1f9acc83dd89cd99c0d8abf6363e42d2178
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