patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / acpi / power.c
index 4dcfcd5..657ddef 100644 (file)
@@ -482,6 +482,8 @@ acpi_power_remove_fs (
        ACPI_FUNCTION_TRACE("acpi_power_remove_fs");
 
        if (acpi_device_dir(device)) {
+               remove_proc_entry(ACPI_POWER_FILE_STATUS,
+                                 acpi_device_dir(device));
                remove_proc_entry(acpi_device_bid(device), acpi_power_dir);
                acpi_device_dir(device) = NULL;
        }