]> err.no Git - linux-2.6/commit
ACPI: thinkpad-acpi: use bitfields for module flags
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 21 Apr 2007 14:08:36 +0000 (11:08 -0300)
committerLen Brown <len.brown@intel.com>
Sun, 22 Apr 2007 03:30:34 +0000 (23:30 -0400)
commitd8fd94d9f08237ffda7e44e6825b057bf20a90e3
tree0c0a818fd36aaa8ea708e64ac4db727df95724e3
parent926411779287ad4f7013c9d80aa44fd131b70cd9
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>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h