ACPI: thinkpad-acpi: use bitfields for module flags
commit5a7adb1ec2519ae5695eae57c747e76d8b688991
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>
Tue, 12 Jun 2007 14:53:52 +0000 (12 11:53 -0300)
treebf7360f5ed174f9ff0c4e9aa99d216b815a2701c
parent3d88fd76669ca3659c23dcc271fd4be272908787
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