ACPI: remove redundant Acer blacklist entry

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>
This commit is contained in:
Len Brown 2008-01-25 15:39:50 -05:00
parent 9135f1901e
commit 8964ebb8c3

View file

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