remoteproc: st: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 21:13:40 +0000 (16:13 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 11 Oct 2023 17:38:20 +0000 (11:38 -0600)
commit5c77ebcd05acf3789949c8a387df72381d949ca2
tree3abeff0768b98797fe030ad13c97fee5ab2ae18a
parent6013727fc33d9361fb01cb4d072134d3d37a1c1a
remoteproc: st: 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: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20231009211356.3242037-10-robh@kernel.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/st_remoteproc.c