Commit 8069a60a authored by Zhu Wang's avatar Zhu Wang Committed by Ulf Hansson

mmc: sdhci: milbeaut: remove redundant of_match_ptr()

The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: default avatarZhu Wang <wangzhu9@huawei.com>
Link: https://lore.kernel.org/r/20230808133714.214914-3-wangzhu9@huawei.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 921700b5
......@@ -334,7 +334,7 @@ static struct platform_driver sdhci_milbeaut_driver = {
.driver = {
.name = "sdhci-milbeaut",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mlb_dt_ids),
.of_match_table = mlb_dt_ids,
},
.probe = sdhci_milbeaut_probe,
.remove = sdhci_milbeaut_remove,
......
Markdown is supported
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