ARM: imx: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Wed, 15 Nov 2023 21:03:18 +0000 (15:03 -0600)
committerShawn Guo <shawnguo@kernel.org>
Wed, 6 Dec 2023 01:22:14 +0000 (09:22 +0800)
commitd99cfab43cbd5206ac3eb79fec0fda817dd8f536
treebf693c87c48b1e4c00b0b718866c4c96a13b2676
parentb85ea95d086471afb4ad062012a4d73cd328fa86
ARM: imx: 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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mmdc.c