PCI: Rename VPD symbols to remove unnecessary "pci22"
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 22 Feb 2016 19:58:37 +0000 (13:58 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 29 Feb 2016 23:47:31 +0000 (17:47 -0600)
commitf1cd93f9aabe3b8dcac53de1c88279dbd8e529c3
tree5325556934a649cc5f50b82e876a32279b28839f
parentda006847231b2b2ce443b29f1d3df6df7415030d
PCI: Rename VPD symbols to remove unnecessary "pci22"

There's only one kind of VPD, so we don't need to qualify it as "the
version described by PCI spec rev 2.2."

Rename the following symbols to remove unnecessary "pci22":

  PCI_VPD_PCI22_SIZE -> PCI_VPD_MAX_SIZE
  pci_vpd_pci22_size() -> pci_vpd_size()
  pci_vpd_pci22_wait() -> pci_vpd_wait()
  pci_vpd_pci22_read() -> pci_vpd_read()
  pci_vpd_pci22_write() -> pci_vpd_write()
  pci_vpd_pci22_ops -> pci_vpd_ops
  pci_vpd_pci22_init() -> pci_vpd_init()

Tested-by: Shane Seymour <shane.seymour@hpe.com>
Tested-by: Babu Moger <babu.moger@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
drivers/pci/access.c
drivers/pci/pci.h
drivers/pci/probe.c