summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/eeepc-laptop.c
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-12-03 10:44:54 +0300
committerLen Brown <len.brown@intel.com>2009-12-09 23:54:30 +0300
commit2adb8bd380314feb8170d58b3852cad2c374d20f (patch)
treea69e5c4e3b10615739cca550acfb506da063fc10 /drivers/platform/x86/eeepc-laptop.c
parentfbe3d8942e8fd1e947e4d11a3e9e15675a1cac7e (diff)
downloadlinux-2adb8bd380314feb8170d58b3852cad2c374d20f.tar.xz
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>
Diffstat (limited to 'drivers/platform/x86/eeepc-laptop.c')
-rw-r--r--drivers/platform/x86/eeepc-laptop.c2
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;