Skip to content
Commit 6c7f4f1e authored by Dan Williams's avatar Dan Williams
Browse files

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: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166974411035.1608150.8605988708101648442.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 43a2fb3a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment