mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-24 11:25:43 +00:00
perf: qcom: use acpi_device_uid() for fetching _UID
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>
This commit is contained in:
parent
5f70fd1892
commit
bb3dcf0ccf
1 changed files with 2 additions and 2 deletions
|
@ -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_device_uid(acpi_dev_parent(acpi_dev)),
|
||||
acpi_device_uid(acpi_dev));
|
||||
if (!l3pmu || !name)
|
||||
return -ENOMEM;
|
||||
|
||||
|
|
Loading…
Reference in a new issue