cpqphp: Use PCI_CLASS_REVISION instead of PCI_REVISION_ID for read
authorAuke Kok <auke-jan.h.kok@intel.com>
Mon, 27 Aug 2007 23:17:38 +0000 (16:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 22:03:16 +0000 (15:03 -0700)
commit3799a4e7d8867cfbb137d417beb126d5a2302607
tree1ac0a85a2dd039bd253dbb4e1e1f36e35f3e2a68
parent9f672153ba921fdc6d4ef5ca8f6e65ac58cc970c
cpqphp: Use PCI_CLASS_REVISION instead of PCI_REVISION_ID for read

While PCI_CLASS_REVISION and PCI_REVISION_ID are identical, the
code here discards the revision content and is only interested in
the class number.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Cc: Krosten Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/cpqphp_core.c