aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2022-11-29 10:48:12 -0700
committerDan Williams <[email protected]>2022-12-03 13:40:16 -0800
commitaf2dfef854aa6afdf380e15e39d936d3b66097f1 (patch)
tree64b673c97aa3bf9f04ba9487d77a133de767c72a /drivers/fpga/fpga-mgr.c
parentf0c4d9fc9cc9462659728d168387191387e903cc (diff)
cxl/pci: Cleanup repeated code in cxl_probe_regs() helpers
Rather then duplicating the setting of valid, length, and offset for each type, just convey a pointer to the register map to common code. Yes, the change in cxl_probe_component_regs() does not save any lines of code, but it is preparation for adding another component register type to map (RAS Capability Structure). Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/166974409293.1608150.17661353937678581423.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions