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)
commit05d3ac267a9d10af6ca370afe21802333aad1d5c
treee899a687abe79fd272fbd3f8b6b2ca88057a21fa
parent69b3e6199a2d01ad2e3102052be08e0ced91f388
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