asus-wmi: Disable acpi-video backlight on desktop machines
authorHans de Goede <hdegoede@redhat.com>
Tue, 8 Jul 2014 08:47:21 +0000 (10:47 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sat, 16 Aug 2014 08:23:50 +0000 (01:23 -0700)
commitd8c66f62992dac3a92cbc5f16791557100c7a068
treee36c0ca00da555d77a4547bb7733edff0f2967ee
parentce363c2bcb2303e7fad3a79398db739c6995141b
asus-wmi: Disable acpi-video backlight on desktop machines

Some Asus motherboards for desktop PC-s export an acpi-video interface
advertising backlight support. Test the dmi chassis-type and tell acpi-video
to not register a backlight interface on desktops.

https://bugzilla.redhat.com/show_bug.cgi?id=1097436

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/asus-wmi.c