summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-24 19:36:00 -0400
committerLen Brown <len.brown@intel.com>2006-06-27 01:07:16 -0400
commit5e7d8818114f08ad9078d2c1a8a88d78d49de8dc (patch)
tree4778138c86f7da27341ab95df251d52a854d9cc6
parente8406b4485730031d91872086456bd052948686b (diff)
downloadop-kernel-dev-5e7d8818114f08ad9078d2c1a8a88d78d49de8dc.zip
op-kernel-dev-5e7d8818114f08ad9078d2c1a8a88d78d49de8dc.tar.gz
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>
-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 839f423..055cfd5 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;
}
/*
OpenPOWER on IntegriCloud