ACPI: thinkpad-acpi: use bitfields for module flags
commita2201338e8318c785fa56a3a0b9628f9d0f100c4
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, 5 Aug 2007 14:44:37 +0000 (5 11:44 -0300)
tree5369782b55e43f78c99aad638a63a7f6bc8f013d
parentacdc91a888a9f92453b2c980f326a6db5e0e188c
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