firmware: ti_sci: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:46:38 +0000 (17:46 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 16 Oct 2023 15:28:25 +0000 (10:28 -0500)
commit05e5f732850632f24310b677d16787136733f5d4
tree2a82d0f6cce104da499632b8c0a6cb82b61b0291
parent82e83cb51c87b5bf3ab83f7c7b150c19400056c2
firmware: ti_sci: 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/20231006224638.445168-1-robh@kernel.org
Signed-off-by: Nishanth Menon <nm@ti.com>
drivers/firmware/ti_sci.c