summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-milbeaut.c
diff options
context:
space:
mode:
authorZhu Wang <wangzhu9@huawei.com>2023-08-08 16:37:14 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2023-08-09 14:28:31 +0300
commit8069a60a0575bf287b9326541bbdbd59d41e49ec (patch)
treef3051f29cc17f9245f109eab9e19fa4f563dd4af /drivers/mmc/host/sdhci-milbeaut.c
parent921700b5ed5587c354a6bf2d23da325a49490253 (diff)
downloadlinux-8069a60a0575bf287b9326541bbdbd59d41e49ec.tar.xz
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: Zhu Wang <wangzhu9@huawei.com> Link: https://lore.kernel.org/r/20230808133714.214914-3-wangzhu9@huawei.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-milbeaut.c')
-rw-r--r--drivers/mmc/host/sdhci-milbeaut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-milbeaut.c b/drivers/mmc/host/sdhci-milbeaut.c
index 148b37ac6564..701b11a14c6f 100644
--- a/drivers/mmc/host/sdhci-milbeaut.c
+++ b/drivers/mmc/host/sdhci-milbeaut.c
@@ -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,