firmware: arm_scpi: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:46:50 +0000 (17:46 -0500)
committerSudeep Holla <sudeep.holla@arm.com>
Sun, 8 Oct 2023 20:16:30 +0000 (21:16 +0100)
commit908af696c513bdd028fb16499f12febc0dc48acd
tree034667dab63d81faeff08e12f2277f4d69d14421
parent0a81b0eb81ca94f2be9712b85c2d1c32542a17b2
firmware: arm_scpi: 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/20231006224650.445424-1-robh@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scpi.c