drivers/perf: thunderx2_pmu: Replace open coded acpi_match_acpi_device()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 4 Apr 2024 16:59:23 +0000 (19:59 +0300)
committerWill Deacon <will@kernel.org>
Tue, 9 Apr 2024 15:44:15 +0000 (16:44 +0100)
commit105350fe07862c7f919828250f306ec674240b66
treeeecbdd3ba331af40935d1dd4acdb6b458f963ac8
parentf66ae597411cb0d11ed3c281ef2ae809c2e25cb0
drivers/perf: thunderx2_pmu: Replace open coded acpi_match_acpi_device()

Replace open coded acpi_match_acpi_device() in get_tx2_pmu_type().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240404170016.2466898-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/thunderx2_pmu.c