X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Facpi%2Fpower.c;h=657ddef48239f259b7b1a3c9d4470e5f027b11c9;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=4dcfcd566d977f23e2a0255ef95436d42ad9d0e5;hpb=c449269f45c2cdf53af08c8d0af37472f66539d9;p=linux-2.6.git diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index 4dcfcd566..657ddef48 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c @@ -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; }