projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
921700b
)
mmc: sdhci: milbeaut: remove redundant of_match_ptr()
author
Zhu Wang
<wangzhu9@huawei.com>
Tue, 8 Aug 2023 13:37:14 +0000
(21:37 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Wed, 9 Aug 2023 11:28:31 +0000
(13:28 +0200)
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>
drivers/mmc/host/sdhci-milbeaut.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci-milbeaut.c
b/drivers/mmc/host/sdhci-milbeaut.c
index 148b37ac6564537f72662b6f2b08ee7f3e06222e..701b11a14c6f7740391ec00a761eed4d81d6c29d 100644
(file)
--- 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,