PM / devfreq: exynos-ppmu: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 21:38:54 +0000 (16:38 -0500)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 8 Oct 2023 22:29:11 +0000 (07:29 +0900)
commite50fa1a5ac52e2a2ec09b8028bdb1c4bf9166cbc
treec8edc106c415ef20adef40ffe1645db5a97b6ac6
parent419827409834f4e6602456ae23d4557d541adcbf
PM / devfreq: exynos-ppmu: Use device_get_match_data()

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

Link: https://lore.kernel.org/all/20231006213854.333261-1-robh@kernel.org/
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/event/exynos-ppmu.c