cxl/port: Rename @comp_map to @reg_map in struct cxl_register_map
authorRobert Richter <rrichter@amd.com>
Wed, 18 Oct 2023 17:16:57 +0000 (19:16 +0200)
committerDan Williams <dan.j.williams@intel.com>
Sat, 28 Oct 2023 03:13:37 +0000 (20:13 -0700)
commitd8add49263a98d766e5758dc2ec9f83c3b685c12
tree72f090e8292e02beae257b6d76139ad25f286a8a
parent33d9c987bf8fb68a9292aba7cc4b1711fcb1be4d
cxl/port: Rename @comp_map to @reg_map in struct cxl_register_map

Name the field @reg_map, because @reg_map->host will be used for
mapping operations beyond component registers (i.e. AER registers).
This is valid for all occurrences of @comp_map. Change them all.

Signed-off-by: Robert Richter <rrichter@amd.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20231018171713.1883517-5-rrichter@amd.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/port.c
drivers/cxl/cxl.h