projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4682dd1
)
mtd: rawnand: mxc: Remove unneeded of_match_ptr()
author
Fabio Estevam
<festevam@gmail.com>
Tue, 16 Mar 2021 00:00:42 +0000
(21:00 -0300)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Sun, 28 Mar 2021 17:13:39 +0000
(19:13 +0200)
i.MX is a DT-only platform, so of_match_ptr() can be safely
removed.
Remove the unneeded of_match_ptr().
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link:
https://lore.kernel.org/linux-mtd/20210316000042.200392-1-festevam@gmail.com
drivers/mtd/nand/raw/mxc_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/mxc_nand.c
b/drivers/mtd/nand/raw/mxc_nand.c
index f78302e16b84e7c712e6f93f844b5a17e3bcd6be..f6c96341b896c7e01c1d65aa794372ff6ff9d2be 100644
(file)
--- a/
drivers/mtd/nand/raw/mxc_nand.c
+++ b/
drivers/mtd/nand/raw/mxc_nand.c
@@
-1849,7
+1849,7
@@
static int mxcnd_remove(struct platform_device *pdev)
static struct platform_driver mxcnd_driver = {
.driver = {
.name = DRIVER_NAME,
- .of_match_table =
of_match_ptr(mxcnd_dt_ids)
,
+ .of_match_table =
mxcnd_dt_ids
,
},
.probe = mxcnd_probe,
.remove = mxcnd_remove,