Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e7d8818 authored by Andrew Morton's avatar Andrew Morton Committed by Len Brown
Browse files

ACPI: asus_acpi_init: propagate correct return value



Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent e8406b44
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1232,7 +1232,7 @@ static int __init asus_acpi_init(void)
	result = acpi_bus_register_driver(&asus_hotk_driver);
	result = acpi_bus_register_driver(&asus_hotk_driver);
	if (result < 0) {
	if (result < 0) {
		remove_proc_entry(PROC_ASUS, acpi_root_dir);
		remove_proc_entry(PROC_ASUS, acpi_root_dir);
		return -ENODEV;
		return result;
	}
	}


	/*
	/*