]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/VPD: Change pci_vpd_init() return type to void
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 1 Apr 2021 16:37:47 +0000 (18:37 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 Apr 2021 19:38:32 +0000 (14:38 -0500)
commite77ffccd50b94e005420c891b567e6d6061adf48
tree9c31a56a150e2ccdaf0a6b5cd42be9782009ff48
parent6d2bacdb954914f3f706b87e9b40dd28fcdf0155
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>
drivers/pci/pci.h
drivers/pci/vpd.c