Skip to content
Commit dfbaaec9 authored by Bean Huo's avatar Bean Huo Committed by Ulf Hansson
Browse files

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: default avatarBean Huo <beanhuo@micron.com>
Link: https://lore.kernel.org/r/20220202180648.1252154-3-huobean@gmail.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 1b3eebf1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment