OSDN Git Service

cxl/pci: Kill cxl_map_regs()
authorDan Williams <dan.j.williams@intel.com>
Tue, 29 Nov 2022 17:48:24 +0000 (10:48 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 3 Dec 2022 21:40:16 +0000 (13:40 -0800)
commit43a2fb3aef165ffe9d4315059a2e951253f4050b
tree6f59380a9cca76e970c965fe204e7335cb898490
parent1191ca102d32456d29cf64bd4547e216986ff6b6
cxl/pci: Kill cxl_map_regs()

The component registers are currently unused by the cxl_pci driver.
Only the physical address base of the component registers is conveyed to
the cxl_mem driver. Just call cxl_map_device_registers() directly.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166974410443.1608150.15855499736133349600.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/pci.c