firmware: meson: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:46:44 +0000 (17:46 -0500)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 9 Oct 2023 08:48:15 +0000 (10:48 +0200)
commit5d59b6a49bb8f6841acf53affc0c4720fe7450e5
tree63b08058287dbf7fceff21a70ea90a02a033d10c
parent0d423c4a78984dd02f6596d6fd9dd40446eec517
firmware: meson: 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>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231006224644.445295-1-robh@kernel.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/firmware/meson/meson_sm.c