thinkpad-acpi: remove uneeded tp_features.hotkey tests in hotkey_exit
commit86aa9b601bae9dad8c2459e65bcfa211376a4afa
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:12 +0000 (13 09:22 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:12 +0000 (13 09:22 -0300)
treebd44a6753158e661a854c5d49667e0088dec35ee
parent5fc744abe6451c16abaec0dee66c0557ded657d8
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