acpi: Remove _OSI(Linux) for ThinkPads
authorAndy Lutomirski <luto@amacapital.net>
Sat, 18 Oct 2014 00:04:30 +0000 (17:04 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 4 Dec 2014 12:03:55 +0000 (04:03 -0800)
AFAICT the only reason to set _OSI(Linux) on ThinkPads is to get
sensible mute button behavior.  Now that the thinkpad_acpi driver
can do this on is own, there is no reason to keep the ACPI
quirk.

Cc: Len Brown <len.brown@intel.com>
Cc: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/acpi/blacklist.c

index 7556e7c..9b693d5 100644 (file)
@@ -304,60 +304,6 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
         * Linux ignores it, except for the machines enumerated below.
         */
 
-       /*
-        * Lenovo has a mix of systems OSI(Linux) situations
-        * and thus we can not wildcard the vendor.
-        *
-        * _OSI(Linux) helps sound
-        * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"),
-        * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"),
-        * T400, T500
-        * _OSI(Linux) has Linux specific hooks
-        * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X61"),
-        * _OSI(Linux) is a NOP:
-        * DMI_MATCH(DMI_PRODUCT_VERSION, "3000 N100"),
-        * DMI_MATCH(DMI_PRODUCT_VERSION, "LENOVO3000 V100"),
-        */
-       {
-       .callback = dmi_enable_osi_linux,
-       .ident = "Lenovo ThinkPad R61",
-       .matches = {
-                    DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                    DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"),
-               },
-       },
-       {
-       .callback = dmi_enable_osi_linux,
-       .ident = "Lenovo ThinkPad T61",
-       .matches = {
-                    DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                    DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"),
-               },
-       },
-       {
-       .callback = dmi_enable_osi_linux,
-       .ident = "Lenovo ThinkPad X61",
-       .matches = {
-                    DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                    DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X61"),
-               },
-       },
-       {
-       .callback = dmi_enable_osi_linux,
-       .ident = "Lenovo ThinkPad T400",
-       .matches = {
-                    DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                    DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T400"),
-               },
-       },
-       {
-       .callback = dmi_enable_osi_linux,
-       .ident = "Lenovo ThinkPad T500",
-       .matches = {
-                    DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                    DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T500"),
-               },
-       },
        /*
         * Without this this EEEpc exports a non working WMI interface, with
         * this it exports a working "good old" eeepc_laptop interface, fixing