ACPI: thinkpad-acpi: keep track of module state
commit31b71695cb3eed1838b3b31b40ff731a590c7c0d
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 16 Sep 2007 00:58:06 +0000 (15 21:58 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 26 Feb 2008 02:34:01 +0000 (25 23:34 -0300)
tree81130a28863fc139d9937a5134fd86c4697daa76
parent794665c6a4988790925eab271cb54e6e7f74ca43
ACPI: thinkpad-acpi: keep track of module state

Keep track of module state (init, running, exit).  This makes it trivially
easy to avoid running any interrupt handlers, threads, or any other async
activity before we are ready, or when we want to go away.

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