]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Don't use dmi_name_in_vendors in quirk
authorJean Delvare <khali@linux-fr.org>
Sun, 15 May 2011 16:13:46 +0000 (18:13 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Sat, 21 May 2011 19:17:15 +0000 (12:17 -0700)
commite1ad927aefa430f664830473f3f9c60710cbf832
treea312c2f1810b9d8f8e0164113bd81a2f39227c74
parent2ad68b8ceef9f6496ae2dc0430816a3c91764217
PCI: Don't use dmi_name_in_vendors in quirk

Don't use the costly dmi_name_in_vendors() when we know the string we
are looking for can only be in the DMI board name field. This is more
robust and, more importantly, much faster.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/quirks.c