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 /drivers | |
parent | e8406b4485730031d91872086456bd052948686b (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 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) | |||
1232 | result = acpi_bus_register_driver(&asus_hotk_driver); | 1232 | result = acpi_bus_register_driver(&asus_hotk_driver); |
1233 | if (result < 0) { | 1233 | if (result < 0) { |
1234 | remove_proc_entry(PROC_ASUS, acpi_root_dir); | 1234 | remove_proc_entry(PROC_ASUS, acpi_root_dir); |
1235 | return -ENODEV; | 1235 | return result; |
1236 | } | 1236 | } |
1237 | 1237 | ||
1238 | /* | 1238 | /* |