diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-13 19:15:33 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-27 21:38:22 +0300 |
commit | d5a8fb654c3bfc25d585802d2e63a5ccccd7a912 (patch) | |
tree | 1db405f6476cf5512e8698287f1d94f06aeeaadc /drivers/xen/balloon.c | |
parent | f0b2731ba73ba795a45c8f3fd458da2e0117fd60 (diff) | |
download | linux-d5a8fb654c3bfc25d585802d2e63a5ccccd7a912.tar.xz |
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/xen/balloon.c')
0 files changed, 0 insertions, 0 deletions