patch-2.4.27 linux-2.4.27/drivers/acpi/ec.c
Next file: linux-2.4.27/drivers/acpi/fan.c
Previous file: linux-2.4.27/drivers/acpi/button.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
2004-08-07 16:26:04.651346654 -0700
- Orig file:
linux-2.4.26/drivers/acpi/ec.c
- Orig date:
2004-04-14 06:05:28.000000000 -0700
diff -urN linux-2.4.26/drivers/acpi/ec.c linux-2.4.27/drivers/acpi/ec.c
@@ -544,6 +544,12 @@
{
ACPI_FUNCTION_TRACE("acpi_ec_remove_fs");
+ if (acpi_device_dir(device)) {
+ remove_proc_entry(ACPI_EC_FILE_INFO, acpi_device_dir(device));
+ remove_proc_entry(acpi_device_bid(device), acpi_ec_dir);
+ acpi_device_dir(device) = NULL;
+ }
+
return_VALUE(0);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)