]> 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)
commitadfd5e34fa83397e73bfb0bcd987cda8c0634acc
treea312c2f1810b9d8f8e0164113bd81a2f39227c74
parent55ba9255ea5bfde49e9c528041e04a48f28d0a3a
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