]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-tegra: Use of_device_get_match_data() helper
authorBean Huo <beanhuo@micron.com>
Wed, 2 Feb 2022 18:06:45 +0000 (19:06 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 28 Feb 2022 12:06:22 +0000 (13:06 +0100)
commit3d1de36d25048012b8c23b15e9e24229e4dc1a88
tree05e6f07965d6d094b8b59697ed5ff251d26e737c
parent32e416eef58f5f754bd68fe232f587c587c6e591
mmc: sdhci-tegra: Use of_device_get_match_data() helper

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

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