pmdomain: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:46:13 +0000 (17:46 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 17 Oct 2023 09:45:11 +0000 (11:45 +0200)
commit3ba9fdfaa550936837b50b73d6c27ac401fde875
tree4f23007dd97ec35608b6c85ab376fbeb6eca5e69
parente8fa18de717dd9feaa21778a611c60328d377324
pmdomain: 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.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006224614.444488-1-robh@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/actions/owl-sps.c
drivers/pmdomain/imx/gpc.c
drivers/pmdomain/rockchip/pm-domains.c