diff options
author | Robert Richter <rrichter@amd.com> | 2023-10-18 20:16:55 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-10-28 06:13:36 +0300 |
commit | dd22581f89537163f065e8ef7c125ce0fddf62cc (patch) | |
tree | eea8a0803a48aac431ec213532e29a0d25c81cad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8d2ad999ca3c64cb08cf6a58d227b9d9e746d708 (diff) | |
download | linux-dd22581f89537163f065e8ef7c125ce0fddf62cc.tar.xz |
cxl/core/regs: Rename @dev to @host in struct cxl_register_map
The primary role of @dev is to host the mappings for devm operations.
@dev is too ambiguous as a name. I.e. when does @dev refer to the
'struct device *' instance that the registers belong, and when does
@dev refer to the 'struct device *' instance hosting the mapping for
devm operations?
Clarify the role of @dev in cxl_register_map by renaming it to @host.
Also, rename local variables to 'host' where map->host is used.
Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Signed-off-by: Robert Richter <rrichter@amd.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20231018171713.1883517-3-rrichter@amd.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions