summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-13 18:15:33 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-27 20:38:22 +0200
commitd5a8fb654c3bfc25d585802d2e63a5ccccd7a912 (patch)
tree1db405f6476cf5512e8698287f1d94f06aeeaadc /drivers/acpi
parentf0b2731ba73ba795a45c8f3fd458da2e0117fd60 (diff)
perf: qcom_l2_pmu: ACPI: Use ACPI_COMPANION() directly
The ACPI_HANDLE() macro is a wrapper arond the ACPI_COMPANION() macro and the ACPI handle produced by the former comes from the ACPI device object produced by the latter, so it is way more straightforward to evaluate the latter directly instead of passing the handle produced by the former to acpi_bus_get_device(). Modify l2_cache_pmu_probe_cluster() accordingly (no intentional functional impact). While at it, rename the ACPI device pointer to adev for more clarity. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions