]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: Remove struct pci_vpd_ops.release function pointer
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 22 Feb 2016 19:58:20 +0000 (13:58 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 29 Feb 2016 23:47:24 +0000 (17:47 -0600)
commitda006847231b2b2ce443b29f1d3df6df7415030d
tree812f934cd9a63896b012fe19b1fce59d3551ce88
parent64379079a9e37ab9e1c755921d7ff1c4fa3ac486
PCI: Remove struct pci_vpd_ops.release function pointer

The struct pci_vpd_ops.release function pointer is always
pci_vpd_pci22_release(), so there's no need for the flexibility of a
function pointer.

Inline the pci_vpd_pci22_release() body into pci_vpd_release() and remove
pci_vpd_pci22_release() and the struct pci_vpd_ops.release function
pointer.

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