git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cxl/core/regs: Rework cxl_map_pmu_regs() to use map->dev for devm
[sfrench/cifs-2.6.git]
/
drivers
/
cxl
/
pci.c
diff --git
a/drivers/cxl/pci.c
b/drivers/cxl/pci.c
index 037792e941f2c8a992548c1b838023d91e8a3e9a..fa94bc61af25b58c0d0c880520188c6cc4c22d1c 100644
(file)
--- a/
drivers/cxl/pci.c
+++ b/
drivers/cxl/pci.c
@@
-898,7
+898,7
@@
static int cxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
break;
}
- rc = cxl_map_pmu_regs(
pdev, &pmu_regs, &map
);
+ rc = cxl_map_pmu_regs(
&map, &pmu_regs
);
if (rc) {
dev_dbg(&pdev->dev, "Could not map PMU regs\n");
break;