]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/acpi/debug.c
ACPI: Enable ACPI error messages w/o CONFIG_ACPI_DEBUG
[linux-2.6-omap-h63xx.git] / drivers / acpi / debug.c
index 263322b7d113d743caa9200ce7b9b8c592cd284b..ec7bcee7708501135a97a7468947e2df535e560b 100644 (file)
@@ -216,12 +216,9 @@ static int __init acpi_debug_init(void)
        return_VALUE(error);
 
       Error:
-       ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
-                         "Unable to create '%s' proc fs entry\n", name));
-
        remove_proc_entry(ACPI_SYSTEM_FILE_DEBUG_LEVEL, acpi_root_dir);
        remove_proc_entry(ACPI_SYSTEM_FILE_DEBUG_LAYER, acpi_root_dir);
-       error = -EFAULT;
+       error = -ENODEV;
        goto Done;
 }