]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf9f692ad099f4969eb9f02c45467a6eebd07a2d
treeedb28989e8263d85d480d4b3f2c8f19c05158a5e
parente8618aa5404afbbd56dc4e3a6e260d6c65ebdf71
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