]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/acpi/event.c
ACPI: Enable ACPI error messages w/o CONFIG_ACPI_DEBUG
[linux-2.6-omap-h63xx.git] / drivers / acpi / event.c
index 2dbb1b0f11d51bb16a227e794729ba0936ce3d3a..dab09d3f6307be4e5f38d734f3c10e77653b40a2 100644 (file)
@@ -122,10 +122,7 @@ static int __init acpi_event_init(void)
        if (entry)
                entry->proc_fops = &acpi_system_event_ops;
        else {
-               ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
-                                 "Unable to create '%s' proc fs entry\n",
-                                 "event"));
-               error = -EFAULT;
+               error = -ENODEV;
        }
        return_VALUE(error);
 }