PCI hotplug: cpqphp: use pci_dev->subsystem_{vendor|device}
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 13 Jul 2011 15:21:25 +0000 (19:21 +0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 22 Jul 2011 15:25:42 +0000 (08:25 -0700)
commit69b3e6199a2d01ad2e3102052be08e0ced91f388
tree4310e1d65f7b92a92bd27cb1d92ca0041bc5e2c6
parentdb34a363b992e0c8063f432607561520d79fbfb8
PCI hotplug: cpqphp: use pci_dev->subsystem_{vendor|device}

The driver reads PCI subsystem IDs from the PCI configuration registers while
they are already stored by the PCI subsystem in the 'subsystem_{vendor|device}'
fields 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