]> git.baikalelectronics.ru Git - kernel.git/commit
PCI hotplug: cpqphp: use pci_dev->vendor
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 13 Jul 2011 15:20:14 +0000 (19:20 +0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 22 Jul 2011 15:25:43 +0000 (08:25 -0700)
commit70f028e8c4c34c5bd7d4d81750e40ab1b61ebc5f
treee899a687abe79fd272fbd3f8b6b2ca88057a21fa
parent5eeab0bad3460b42743f7188d7897f9a97970fc5
PCI hotplug: cpqphp: use pci_dev->vendor

The driver reads PCI vendor ID from the PCI configuration register while it is
already stored by the PCI subsystem in the 'vendor' field of 'struct pci_dev'...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/cpqphp_core.c