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 Jun 27, 2006
1 parent e8406b4 commit 5e7d881
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 @@ -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;
}

/*
Expand Down

0 comments on commit 5e7d881

Please sign in to comment.