ssb: use pci_dev->revision
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 1 Jul 2011 18:33:08 +0000 (22:33 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:32:23 +0000 (15:32 -0400)
commit2fa2319027dd498edde332afe9a27f1b34b34d7f
treed39cbed6eb8ab3b83bbd1eb03771da8c85ae7f0a
parent73e6cdcf479ce3a8d33a726f0477473db35a4b2e
ssb: use pci_dev->revision

The SSB code reads PCI revision ID from the PCI configuration register while
it's already stored by the PCI subsystem in the 'revision' field  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