ACPI: thinkpad-acpi: protect fan and hotkey data structures
commit354b088bbfe0de9110e2faeef1fb420b6abf3d86
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, 9 Sep 2007 02:14:56 +0000 (8 23:14 -0300)
tree32f3258e649f412e854e7522695b1c6dc7b506f7
parentc1d99f3847881e70eaca735cf1648b7e31b6e1b2
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