ACPI: thinkpad-acpi: cleanup bluetooth and wan for sysfs conversion
commit13729d313b83eea39c0aa1a4f614f815b2662a39
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 19 Feb 2007 15:45:11 +0000 (19 13:45 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 12 Jun 2007 14:53:53 +0000 (12 11:53 -0300)
tree8b268dc31ee41b1d8e9858964634cedabd5017f8
parentde5d9c5b552326af85d5deec77368987d2c52090
ACPI: thinkpad-acpi: cleanup bluetooth and wan for sysfs conversion

Prepare bluetooth and wan driver code to be more easily hooked into sysfs
helpers, by separating the procfs logic from the device attribute handling.

These changes also remove the entries from procfs on notebooks without the
bluetooth/wan hardware installed.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h