diff options
author | Andrew Morton <akpm@osdl.org> | 2006-05-13 22:56:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-05-15 01:26:20 -0400 |
commit | ebd5f2ca811b75f7145fa487748f26430c584a72 (patch) | |
tree | bbe03f3fe9b68cbb05b7e8d9b8135dffa1fbc20e /drivers | |
parent | b6835052a6aa00536343b6d2127fc65cd814a040 (diff) |
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')
-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 f4c87750dbf2..fccbf938ea04 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c | |||
@@ -1229,7 +1229,7 @@ static int __init asus_acpi_init(void) | |||
1229 | if (result < 1) { | 1229 | if (result < 1) { |
1230 | acpi_bus_unregister_driver(&asus_hotk_driver); | 1230 | acpi_bus_unregister_driver(&asus_hotk_driver); |
1231 | remove_proc_entry(PROC_ASUS, acpi_root_dir); | 1231 | remove_proc_entry(PROC_ASUS, acpi_root_dir); |
1232 | return -ENODEV; | 1232 | return result; |
1233 | } | 1233 | } |
1234 | 1234 | ||
1235 | return 0; | 1235 | return 0; |