cxgb4: Use pci_vpd_find_id_string() to find VPD ID string
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 26 Aug 2021 18:56:22 +0000 (20:56 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 31 Aug 2021 21:09:38 +0000 (16:09 -0500)
commit24c521f81c305191a7c3938932ed7de1f157ff64
tree07c5cc61ddda70911e554f2ddde729c581a3205c
parentacfbb1b8a494d7bfd316dfb363a820e6df637e8d
cxgb4: Use pci_vpd_find_id_string() to find VPD ID string

Use pci_vpd_find_id_string() to find the VPD ID string. This simplifies the
code and avoids the need for pci_vpd_lrdt_size().

Link: https://lore.kernel.org/r/19ea2e9b-6e94-288a-6612-88db01b1b417@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