projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f70fd1
)
perf: qcom: use acpi_device_uid() for fetching _UID
author
Raag Jadav
<raag.jadav@intel.com>
Fri, 20 Oct 2023 08:47:30 +0000
(14:17 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Fri, 20 Oct 2023 17:21:14 +0000
(19:21 +0200)
Convert manual _UID references to use the standard ACPI helper.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/perf/qcom_l3_pmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/perf/qcom_l3_pmu.c
b/drivers/perf/qcom_l3_pmu.c
index 2887edb4eb0bf159493db877f9e7773b6db798fc..f16783d03db7b6be3bead4d8e331d1b9f7cec936 100644
(file)
--- a/
drivers/perf/qcom_l3_pmu.c
+++ b/
drivers/perf/qcom_l3_pmu.c
@@
-742,8
+742,8
@@
static int qcom_l3_cache_pmu_probe(struct platform_device *pdev)
l3pmu = devm_kzalloc(&pdev->dev, sizeof(*l3pmu), GFP_KERNEL);
name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "l3cache_%s_%s",
- acpi_dev
_parent(acpi_dev)->pnp.unique_id
,
- acpi_dev
->pnp.unique_id
);
+ acpi_dev
ice_uid(acpi_dev_parent(acpi_dev))
,
+ acpi_dev
ice_uid(acpi_dev)
);
if (!l3pmu || !name)
return -ENOMEM;