diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-24 19:36:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-27 01:07:16 -0400 |
commit | 5e7d8818114f08ad9078d2c1a8a88d78d49de8dc (patch) | |
tree | 4778138c86f7da27341ab95df251d52a854d9cc6 | |
parent | e8406b4485730031d91872086456bd052948686b (diff) | |
download | linux-5e7d8818114f08ad9078d2c1a8a88d78d49de8dc.tar.bz2 |
ACPI: asus_acpi_init: propagate correct return value
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/acpi/asus_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index 839f423d738d..055cfd5c8766 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c @@ -1232,7 +1232,7 @@ static int __init asus_acpi_init(void) result = acpi_bus_register_driver(&asus_hotk_driver); if (result < 0) { remove_proc_entry(PROC_ASUS, acpi_root_dir); - return -ENODEV; + return result; } /* |