mmc: jz4740: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:43:43 +0000 (17:43 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 10 Oct 2023 13:54:57 +0000 (15:54 +0200)
commita2b8fa785358f699e9736718f430cddf596cd79e
treedce0ca4a00924c98fb8ffe3507c874f5e047c5f2
parent0ebebb21c48408bfa96a6fb18aa1a5bb543e2312
mmc: jz4740: 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: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20231006224343.441720-1-robh@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/jz4740_mmc.c