projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5db0b
)
asus-laptop: Remove uneccesary acpi_disabled check
author
Alan Jenkins
<alan-jenkins@tuffmail.co.uk>
Thu, 3 Dec 2009 07:44:48 +0000
(07:44 +0000)
committer
Len Brown
<len.brown@intel.com>
Wed, 9 Dec 2009 20:54:30 +0000
(15:54 -0500)
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>
drivers/platform/x86/asus-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-laptop.c
b/drivers/platform/x86/asus-laptop.c
index 8af43e9b6183db0f7d731e9451e704c85ac30206..4234edbe6ffcce29971de27649cc6d2d5dd3997b 100644
(file)
--- a/
drivers/platform/x86/asus-laptop.c
+++ b/
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;