drivers/perf: xgene: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 17:29:09 +0000 (12:29 -0500)
committerWill Deacon <will@kernel.org>
Tue, 17 Oct 2023 11:43:13 +0000 (12:43 +0100)
commit1f33cdef8ca174661fb0d82d0f74fd0589dc9e46
tree830fb3f684bc42e8b9c904b9bed1569e35e8590c
parent32269e09b137ade1e5cb5c8a7d67db1ba9b1e4fe
drivers/perf: xgene: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() and
acpi_match_device() to get the driver match data. With this, adjust the
includes to explicitly include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20231009172923.2457844-14-robh@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/xgene_pmu.c