+17
−30
+6
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We only support one flavor of VPD, so there's no need to complicate things by having a "generic" struct pci_vpd and a more specific struct pci_vpd_pci22. Fold struct pci_vpd_pci22 directly into struct pci_vpd. [bhelgaas: remove NULL check before kfree of dev->vpd (per kfreeaddr.cocci)] 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>