mmc: sdhci-esdhc-imx: Use device_get_match_data()
authorFabio Estevam <festevam@gmail.com>
Sun, 14 Mar 2021 23:08:24 +0000 (20:08 -0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 30 Mar 2021 09:42:04 +0000 (11:42 +0200)
commit91b3d2e5b7af086d74c15c0b62dcb5073ce8055d
tree5856be0615e3b14d0cb5013acf4b2e383f183303
parentebe9572fd28c0336bb98e5856b03344660c25a5e
mmc: sdhci-esdhc-imx: Use device_get_match_data()

The retrieval of driver data can be a bit simplified by using
device_get_match_data(), so switch to it.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210314230824.148969-2-festevam@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c