patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / acpi / ac.c
index e617af9..7333d5f 100644 (file)
@@ -185,6 +185,9 @@ acpi_ac_remove_fs (
        ACPI_FUNCTION_TRACE("acpi_ac_remove_fs");
 
        if (acpi_device_dir(device)) {
+               remove_proc_entry(ACPI_AC_FILE_STATE,
+                                 acpi_device_dir(device));
+
                remove_proc_entry(acpi_device_bid(device), acpi_ac_dir);
                acpi_device_dir(device) = NULL;
        }