cxgb4: Search VPD with pci_vpd_find_ro_info_keyword()
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 22 Aug 2021 13:59:21 +0000 (15:59 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Aug 2021 18:46:30 +0000 (13:46 -0500)
commitfc9279298e3a903dce511caa5fe9eda298a7949e
tree2b70c420cbb2fce960f30934be493ae233b3a546
parentf9f3caa8dcd73a145861b69cc1f4bcd1b6fb0f81
cxgb4: Search VPD with pci_vpd_find_ro_info_keyword()

Use pci_vpd_find_ro_info_keyword() to search for keywords in VPD to
simplify the code.

Link: https://lore.kernel.org/r/db576a3e-e877-b37b-98ed-cfc03d225ab3@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c