summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/acer-wmi.c
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2012-08-20 23:01:50 +0200
committerMatthew Garrett <mjg@redhat.com>2012-09-13 22:46:30 +0200
commit689db7843d503fae0eb46cb849e4caab35588170 (patch)
tree78c9924568f5a57572df96633a127ee631e37d7b /drivers/platform/x86/acer-wmi.c
parentapple-gmux: Fix port address calculation in gmux_pio_write32() (diff)
downloadlinux-689db7843d503fae0eb46cb849e4caab35588170.tar.xz
linux-689db7843d503fae0eb46cb849e4caab35588170.zip
drivers-platform-x86: remove useless #ifdef CONFIG_ACPI_VIDEO
Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/acer-wmi.c')
-rw-r--r--drivers/platform/x86/acer-wmi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 3782e1cd3697..934d861a3235 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -2196,10 +2196,8 @@ static int __init acer_wmi_init(void)
interface->capability &= ~ACER_CAP_BRIGHTNESS;
pr_info("Brightness must be controlled by acpi video driver\n");
} else {
-#ifdef CONFIG_ACPI_VIDEO
pr_info("Disabling ACPI video driver\n");
acpi_video_unregister();
-#endif
}
if (wmi_has_guid(WMID_GUID3)) {