]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ACPI: remove redundant Acer blacklist entry
authorLen Brown <len.brown@intel.com>
Fri, 25 Jan 2008 20:39:50 +0000 (15:39 -0500)
committerLen Brown <len.brown@intel.com>
Sun, 3 Feb 2008 22:37:02 +0000 (17:37 -0500)
dmi_check_system() does sub-string matching using strstr(),
rather than exact string compares with !strcmp().

So delete the longer of the Acer blacklist entries, as its
function is just a redundant console message.

Spotted-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/blacklist.c

index 8809654d6cc965e292b2424f5f85cdecca15c1a2..9ace2194f2ef73421f2c683e1cd04766665713b8 100644 (file)
@@ -214,13 +214,11 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
         * _OSI(Linux) effect unknown:
         * DMI_MATCH(DMI_PRODUCT_NAME, "Ferrari 5000"),
         */
-       {
-       .callback = dmi_disable_osi_linux,
-       .ident = "Acer, inc.",
-       .matches = {
-                    DMI_MATCH(DMI_SYS_VENDOR, "Acer, inc."),
-               },
-       },
+       /*
+        * note that dmi_check_system() uses strstr()
+        * to match sub-strings rather than !strcmp(),
+        * so "Acer" below matches "Acer, inc." above.
+        */
        /*
         * Disable OSI(Linux) warnings on all "Acer"
         *