summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/asus_acpi.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-05-14 04:56:00 +0200
committerLen Brown <len.brown@intel.com>2006-05-15 07:26:20 +0200
commitebd5f2ca811b75f7145fa487748f26430c584a72 (patch)
treebbe03f3fe9b68cbb05b7e8d9b8135dffa1fbc20e /drivers/acpi/asus_acpi.c
parentACPI: apply "__read_mostly" to processor_idle.c loop module parameters and fr... (diff)
downloadlinux-ebd5f2ca811b75f7145fa487748f26430c584a72.tar.xz
linux-ebd5f2ca811b75f7145fa487748f26430c584a72.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 'drivers/acpi/asus_acpi.c')
-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 f4c87750dbf2..fccbf938ea04 100644
--- a/drivers/acpi/asus_acpi.c
+++ b/drivers/acpi/asus_acpi.c
@@ -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;