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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Aug 2021 20:45:40 +0000 (21:45 +0100)
commit8d63ee602da381c437c0a4ef7ea882b71d829eb6
treeedb28989e8263d85d480d4b3f2c8f19c05158a5e
parent3a93bedea050aa19208256c15c33ddf69c1373c4
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.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c