Skip to content

Commit

Permalink
ACPI: asus_acpi_init(): propagate correct return value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Len Brown committed May 15, 2006
1 parent b683505 commit ebd5f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/asus_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ static int __init asus_acpi_init(void)
if (result < 1) {
acpi_bus_unregister_driver(&asus_hotk_driver);
remove_proc_entry(PROC_ASUS, acpi_root_dir);
return -ENODEV;
return result;
}

return 0;
Expand Down

0 comments on commit ebd5f2c

Please sign in to comment.