From: Henrique de Moraes Holschuh Date: Sat, 21 Apr 2007 14:08:31 +0000 (-0300) Subject: ACPI: thinkpad-acpi: clean up probing and move init to subdrivers X-Git-Tag: v2.6.22-rc1~1112^2~5^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fba344cfdbaa79e6320da26c3db34dfb219a845;p=pandora-kernel.git ACPI: thinkpad-acpi: clean up probing and move init to subdrivers Move most of the probing code to its own function, and most of the subdriver-specific init code into subdriver init functions. This allows us to not define pci_handle unless the dock subdriver is enabled, as well. This patch causes a minor userland interface change: if a subdriver doesn't detect a capability, /proc entries for it are not created anymore (as opposed to a /proc entry that just returned "unsupported"). Signed-off-by: Henrique de Moraes Holschuh Signed-off-by: Len Brown --- Reading git-diff-tree failed