power: reset: vexpress: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 17:29:14 +0000 (12:29 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 20 Oct 2023 22:57:55 +0000 (00:57 +0200)
commit469d31745b9fb3a87424b311abb7cb530611404f
treecea9ef5236ad705fd73da6b0d02e0b9f70083a8e
parente186bd1ac2f984f525b319924cfb0e197051ba47
power: reset: vexpress: 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>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20231009172923.2457844-19-robh@kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/vexpress-poweroff.c