diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-04-01 18:37:47 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-04-30 14:38:32 -0500 |
commit | e947e7b1163d5a4375dc1ca6134ebda67ee7d33a (patch) | |
tree | 9c31a56a150e2ccdaf0a6b5cd42be9782009ff48 /drivers/pci/pci.h | |
parent | d1df5f3f4cfff88c989cbeec6ca0e02340494818 (diff) | |
download | linux-e947e7b1163d5a4375dc1ca6134ebda67ee7d33a.tar.gz linux-e947e7b1163d5a4375dc1ca6134ebda67ee7d33a.tar.bz2 linux-e947e7b1163d5a4375dc1ca6134ebda67ee7d33a.zip |
PCI/VPD: Change pci_vpd_init() return type to void
pci_init_capabilities() is the only caller and doesn't use the return
value. So let's change the return type to void.
Link: https://lore.kernel.org/r/663ec440-8375-1459-ddb4-98ea76e75917@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index ef7c4661314f..37d21aa0b0d5 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -141,7 +141,7 @@ static inline bool pcie_downstream_port(const struct pci_dev *dev) type == PCI_EXP_TYPE_PCIE_BRIDGE; } -int pci_vpd_init(struct pci_dev *dev); +void pci_vpd_init(struct pci_dev *dev); void pci_vpd_release(struct pci_dev *dev); void pcie_vpd_create_sysfs_dev_files(struct pci_dev *dev); void pcie_vpd_remove_sysfs_dev_files(struct pci_dev *dev); |