PCI: Use PCI_CLASS_SERIAL_USB instead of bare number
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 19 Jun 2015 20:28:31 +0000 (15:28 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 14 Jul 2015 18:38:26 +0000 (13:38 -0500)
commitcd76d10b78ab21a7adc4562e016213dd4891b6e5
treeee7d775604c21256cbd79defdebface1721c5048
parent3657cebda5eb9dc1c4c6a0ea5b38bfef70aea50a
PCI: Use PCI_CLASS_SERIAL_USB instead of bare number

be6646bfbaec ("PCI: Prevent xHCI driver from claiming AMD Nolan USB3 DRD
device") added a quirk to override the PCI class code of the AMD Nolan
device.

Use PCI_CLASS_SERIAL_USB instead of a bare number to improve greppability.
Also add a log message about what we're doing.

No functional change except the new message.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Huang Rui <ray.huang@amd.com>
CC: Jason Chang <jason.chang@amd.com>
CC: Felipe Balbi <balbi@ti.com>
drivers/pci/quirks.c