ACPI: thinkpad-acpi: use bitfields for module flags
commit6f99d86ce22d133bc6238db094614ee36e0ae6d6
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 21 Apr 2007 13:03:06 +0000 (21 10:03 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 28 Apr 2007 17:28:08 +0000 (28 14:28 -0300)
tree5aa76a828b9af43b0456a3f50db3dca89ccadffd
parent5e289ec8f98b4bbb038d281594ec22e8e54866a6
ACPI: thinkpad-acpi: use bitfields for module flags

Use a bitfield to hold boolean module-wide flags, to conserve some memory.
It is easy and it is clean, so we do it just for the heck of it even if it
saves very little space.

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