ACPI: thinkpad-acpi: keep track of module state
commit7422b608782b08085318837f42a8578a05be65f4
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>
Fri, 28 Sep 2007 01:25:27 +0000 (27 22:25 -0300)
treeb907e2fc878042ed2714cceb863cb88b405638ab
parentcabb961e85d16cc1130fba715fb9d46398da6c68
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