浏览代码

asus-laptop: Remove uneccesary acpi_disabled check

acpi_bus_register_driver() already checks acpi_disabled, so acpi bus
drivers don't need to.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
Alan Jenkins 15 年之前
父节点
当前提交
b7fab7a070
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/platform/x86/asus-laptop.c

+ 0 - 3
drivers/platform/x86/asus-laptop.c

@@ -1438,9 +1438,6 @@ static int __init asus_laptop_init(void)
 {
 	int result;
 
-	if (acpi_disabled)
-		return -ENODEV;
-
 	result = acpi_bus_register_driver(&asus_hotk_driver);
 	if (result < 0)
 		return result;