diff options
author | 2006-12-20 02:52:50 -0500 | |
---|---|---|
committer | 2006-12-20 02:52:50 -0500 | |
commit | 3be11c8f4f2fa194834c2e83540f34da442b8977 (patch) | |
tree | 35386fe97c1dd62a261c297512b8e5137b56c35d /drivers/acpi/processor_core.c | |
parent | Pull ec into test branch (diff) | |
parent | ACPI: Kconfig - depend on PM rather than selecting it (diff) | |
download | linux-3be11c8f4f2fa194834c2e83540f34da442b8977.tar.gz linux-3be11c8f4f2fa194834c2e83540f34da442b8977.tar.bz2 linux-3be11c8f4f2fa194834c2e83540f34da442b8977.zip |
Pull bugfix into test branch
Diffstat (limited to 'drivers/acpi/processor_core.c')
-rw-r--r-- | drivers/acpi/processor_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 3e70a08e4a8b..89b3610feb47 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c @@ -901,13 +901,13 @@ static int __init acpi_processor_init(void) acpi_processor_dir = proc_mkdir(ACPI_PROCESSOR_CLASS, acpi_root_dir); if (!acpi_processor_dir) - return 0; + return -ENOMEM; acpi_processor_dir->owner = THIS_MODULE; result = acpi_bus_register_driver(&acpi_processor_driver); if (result < 0) { remove_proc_entry(ACPI_PROCESSOR_CLASS, acpi_root_dir); - return 0; + return result; } acpi_processor_install_hotplug_notify(); |