cxl/pci: Use pci core's DVSEC functionality
authorBen Widawsky <ben.widawsky@intel.com>
Sat, 9 Oct 2021 16:44:45 +0000 (09:44 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 29 Oct 2021 18:53:52 +0000 (11:53 -0700)
commit55006a2c94645b4da85dea48c3752c4eb28f1711
treed4a04a6ec0680cd46fe7186c0dccd46462f2c67b
parentee12203746e5cec678c7d126c9901548bfec1dd5
cxl/pci: Use pci core's DVSEC functionality

Reduce maintenance burden of DVSEC query implementation by using the
centralized PCI core implementation.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
[djbw: kill cxl_pci_dvsec()]
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/163379788528.692348.11581080806976608802.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/pci.c