bnx2: Search VPD with pci_vpd_find_ro_info_keyword()
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 22 Aug 2021 13:50:50 +0000 (15:50 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Aug 2021 16:42:47 +0000 (11:42 -0500)
commit1a41fdb805705251fc61715167cadc0829de587a
tree5ff685e4916eb47e47008d13db20607e5bb3c0dd
parent2d57dd6673a87ea23d8660257162d6280fe7b2e6
bnx2: 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/7ca2b8b5-4c94-f644-1d80-b2ffb8df2d05@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/broadcom/bnx2.c