ACPI: thinkpad-acpi: protect fan and hotkey data structures
commit2037351cfddc4794fa5c839790705693416e8a1a
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 23 Apr 2007 22:55:06 +0000 (23 19:55 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 5 Aug 2007 14:44:42 +0000 (5 11:44 -0300)
treea50f6ff52b9c6bd758b24d7c5640255e4f626bb8
parent5d43c87e664e9763fee7211eae231ad2f58cd678
ACPI: thinkpad-acpi: protect fan and hotkey data structures

Add proper mutex locking to some data structures access subject to races
due to concurrent access of driver functions on the hotkey and fan
subdrivers.

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