mmc: sdhci-omap: Use of_device_get_match_data() helper
authorBean Huo <beanhuo@micron.com>
Sat, 23 Apr 2022 22:16:22 +0000 (00:16 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 26 Apr 2022 12:09:00 +0000 (14:09 +0200)
commit897ae3fe1216e52f2a5f28b37b4be8e6a9cb1bfa
tree67cb70d47109612c4cf23de40ae60db7b39d77d9
parentc7666240ec76422cb7546bd07cc8ae80dc0ccdd2
mmc: sdhci-omap: Use of_device_get_match_data() helper

Only the device data is needed, not the entire struct of_device_id.
Use of_device_get_match_data() instead of open coding of_match_device().

Signed-off-by: Bean Huo <beanhuo@micron.com>
Link: https://lore.kernel.org/r/20220423221623.1074556-2-huobean@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c