ACPI: thinkpad-acpi: uncouple subdriver init from ibms struct
authorHenrique de Moraes Holschuh <hmh@debian.org>
Sat, 21 Apr 2007 14:08:33 +0000 (11:08 -0300)
committerLen Brown <len.brown@intel.com>
Sun, 22 Apr 2007 03:30:33 +0000 (23:30 -0400)
Move the .init method from ibms struct to another struct, and use a list
head to control which subdrivers have been activated.

This allows us to have the subdriver init methods marked __init, saving
quite a lot of .text size, and even a bit of .data size as some data can
now be made __initdata.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found