diff options
author | 2009-12-03 07:44:54 +0000 | |
---|---|---|
committer | 2009-12-09 15:54:30 -0500 | |
commit | 2adb8bd380314feb8170d58b3852cad2c374d20f (patch) | |
tree | a69e5c4e3b10615739cca550acfb506da063fc10 | |
parent | eeepc-laptop: Remove redundant NULL checks (diff) | |
download | linux-dev-2adb8bd380314feb8170d58b3852cad2c374d20f.tar.xz linux-dev-2adb8bd380314feb8170d58b3852cad2c374d20f.zip |
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>
-rw-r--r-- | drivers/platform/x86/eeepc-laptop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 7dde47a67997..f5efe8da5e7a 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/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; |