summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/asus_acpi.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-25 01:36:00 +0200
committerLen Brown <len.brown@intel.com>2006-06-27 07:07:16 +0200
commit5e7d8818114f08ad9078d2c1a8a88d78d49de8dc (patch)
tree4778138c86f7da27341ab95df251d52a854d9cc6 /drivers/acpi/asus_acpi.c
parent[ACPI] Print error message if remove/install notify handler fails (diff)
downloadlinux-5e7d8818114f08ad9078d2c1a8a88d78d49de8dc.tar.xz
linux-5e7d8818114f08ad9078d2c1a8a88d78d49de8dc.zip
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 '')
-rw-r--r--drivers/acpi/asus_acpi.c2
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)
result = acpi_bus_register_driver(&asus_hotk_driver);
if (result < 0) {
remove_proc_entry(PROC_ASUS, acpi_root_dir);
- return -ENODEV;
+ return result;
}
/*