diff options
author | Bean Huo <beanhuo@micron.com> | 2022-02-02 21:06:45 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-02-28 15:06:22 +0300 |
commit | dfbaaec99351fd840ea2572a1adb0294a098f0bb (patch) | |
tree | 05e6f07965d6d094b8b59697ed5ff251d26e737c /drivers/mmc/host/sdhci-of-at91.c | |
parent | 1b3eebf17c028d2f083ded6ca84ff8576f199ec4 (diff) | |
download | linux-dfbaaec99351fd840ea2572a1adb0294a098f0bb.tar.xz |
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-of-at91.c')
0 files changed, 0 insertions, 0 deletions