projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea7b56
)
mtd: nand: pxa3xx_nand: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 30 Sep 2013 09:40:24 +0000
(15:10 +0530)
committer
Brian Norris
<computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:46 +0000
(23:32 -0800)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/pxa3xx_nand.c
b/drivers/mtd/nand/pxa3xx_nand.c
index c28d4e29af1a549dfd0c59fd20870da3a7a676f9..e08c3c0589045bef4762f06fdc94afcd9d27bffd 100644
(file)
--- a/
drivers/mtd/nand/pxa3xx_nand.c
+++ b/
drivers/mtd/nand/pxa3xx_nand.c
@@
-1412,7
+1412,7
@@
static int pxa3xx_nand_resume(struct platform_device *pdev)
static struct platform_driver pxa3xx_nand_driver = {
.driver = {
.name = "pxa3xx-nand",
- .of_match_table =
of_match_ptr(pxa3xx_nand_dt_ids)
,
+ .of_match_table =
pxa3xx_nand_dt_ids
,
},
.probe = pxa3xx_nand_probe,
.remove = pxa3xx_nand_remove,