diff options
author | Dan Williams <dan.j.williams@intel.com> | 2022-11-29 20:48:30 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-12-04 00:40:16 +0300 |
commit | 6c7f4f1e51c2a2474e6d4024d2ed32f8965be4a4 (patch) | |
tree | fab8dbde2a002ca811c969744cc7141beb54e104 /drivers/cxl/core/hdm.c | |
parent | 43a2fb3aef165ffe9d4315059a2e951253f4050b (diff) | |
download | linux-6c7f4f1e51c2a2474e6d4024d2ed32f8965be4a4.tar.xz |
cxl/core/regs: Make cxl_map_{component, device}_regs() device generic
There is no need to carry the barno and the block offset through the
stack, just convert them to a resource base immediately.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166974411035.1608150.8605988708101648442.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/core/hdm.c')
0 files changed, 0 insertions, 0 deletions