ACPI: thinkpad-acpi: use bitfields for module flags
commit2ed0771011ba0670a8c13f1d6624ab7a0559146a
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>
Sun, 9 Sep 2007 02:14:52 +0000 (8 23:14 -0300)
tree2457b608e151ab2bae42ac02a37850a504a160c3
parentac19837d07e55994914ae51c7269f2b304477140
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