linux/drivers/cxl/core
Dave Jiang 66f11890d3 cxl: Refactor to use __free() for cxl_root allocation in cxl_find_nvdimm_bridge()
Use scope-based resource management __free() macro to drop the open coded
put_device() in cxl_find_nvdimm_bridge().

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/170449247353.3779673.5963704495491343135.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2024-01-05 14:36:29 -08:00
..
cdat.c cxl: Fix device reference leak in cxl_port_perf_data_calculate() 2024-01-05 14:36:29 -08:00
core.h cxl: Calculate and store PCI link latency for the downstream ports 2023-12-22 14:53:49 -08:00
hdm.c cxl/hdm: Fix dpa translation locking 2023-12-07 19:14:04 -08:00
Makefile cxl: Add callback to parse the DSMAS subtables from CDAT 2023-12-22 14:33:10 -08:00
mbox.c cxl: Store QTG IDs and related info to the CXL memory device context 2023-12-22 15:31:53 -08:00
memdev.c cxl/memdev: Hold region_rwsem during inject and clear poison ops 2023-11-29 17:23:03 -08:00
pci.c cxl: Calculate and store PCI link latency for the downstream ports 2023-12-22 14:53:49 -08:00
pmem.c cxl: Refactor to use __free() for cxl_root allocation in cxl_find_nvdimm_bridge() 2024-01-05 14:36:29 -08:00
pmu.c cxl/pmu: Ensure put_device on pmu devices 2023-12-14 21:54:45 -08:00
port.c cxl: Convert find_cxl_root() to return a 'struct cxl_root *' 2024-01-05 14:36:29 -08:00
region.c cxl/core: Always hold region_rwsem while reading poison lists 2023-11-29 17:03:53 -08:00
regs.c cxl/core/regs: Rework cxl_map_pmu_regs() to use map->dev for devm 2023-10-27 20:13:39 -07:00
suspend.c PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
trace.c cxl/trace: Add an HPA to cxl_poison trace events 2023-04-23 11:46:13 -07:00
trace.h cxl/memdev: Trace inject and clear poison as cxl_poison events 2023-04-23 12:08:39 -07:00