ssb: use pci_dev->subsystem_{vendor,device}
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 1 Jul 2011 18:34:42 +0000 (22:34 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:32:54 +0000 (15:32 -0400)
commit115f9450babbf2ed530db04e16a99df28cec85dd
tree15a8bd2786023879964864078bc4d68777054eea
parent2fa2319027dd498edde332afe9a27f1b34b34d7f
ssb: use pci_dev->subsystem_{vendor,device}

The SSB code 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: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pci.c