diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-24 23:36:00 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-27 05:07:16 (GMT) |
commit | 5e7d8818114f08ad9078d2c1a8a88d78d49de8dc (patch) | |
tree | 4778138c86f7da27341ab95df251d52a854d9cc6 /drivers/acpi/asus_acpi.c | |
parent | e8406b4485730031d91872086456bd052948686b (diff) | |
download | linux-5e7d8818114f08ad9078d2c1a8a88d78d49de8dc.tar.xz |
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>
Diffstat (limited to 'drivers/acpi/asus_acpi.c')
-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 839f423..055cfd5 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; } /* |