diff options
Diffstat (limited to 'drivers/acpi/event.c')
-rw-r--r-- | drivers/acpi/event.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c index 2dbb1b0f11d5..dab09d3f6307 100644 --- a/drivers/acpi/event.c +++ b/drivers/acpi/event.c | |||
@@ -122,10 +122,7 @@ static int __init acpi_event_init(void) | |||
122 | if (entry) | 122 | if (entry) |
123 | entry->proc_fops = &acpi_system_event_ops; | 123 | entry->proc_fops = &acpi_system_event_ops; |
124 | else { | 124 | else { |
125 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 125 | error = -ENODEV; |
126 | "Unable to create '%s' proc fs entry\n", | ||
127 | "event")); | ||
128 | error = -EFAULT; | ||
129 | } | 126 | } |
130 | return_VALUE(error); | 127 | return_VALUE(error); |
131 | } | 128 | } |