aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-12-03 02:44:54 -0500
committerLen Brown <len.brown@intel.com>2009-12-09 15:54:30 -0500
commit2adb8bd380314feb8170d58b3852cad2c374d20f (patch)
treea69e5c4e3b10615739cca550acfb506da063fc10 /drivers/platform
parentfbe3d8942e8fd1e947e4d11a3e9e15675a1cac7e (diff)
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')
-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)
1359{ 1359{
1360 int result; 1360 int result;
1361 1361
1362 if (acpi_disabled)
1363 return -ENODEV;
1364 result = acpi_bus_register_driver(&eeepc_hotk_driver); 1362 result = acpi_bus_register_driver(&eeepc_hotk_driver);
1365 if (result < 0) 1363 if (result < 0)
1366 return result; 1364 return result;