Browse Source

eeepc-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 years ago
parent
commit
2adb8bd380
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/platform/x86/eeepc-laptop.c

+ 0 - 2
drivers/platform/x86/eeepc-laptop.c

@@ -1359,8 +1359,6 @@ static int __init eeepc_laptop_init(void)
 {
 	int result;
 
-	if (acpi_disabled)
-		return -ENODEV;
 	result = acpi_bus_register_driver(&eeepc_hotk_driver);
 	if (result < 0)
 		return result;