projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d0dc7
)
mtd: nand: lpc32xx_mlc: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 30 Sep 2013 09:40:22 +0000
(15:10 +0530)
committer
Brian Norris
<computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:45 +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/lpc32xx_mlc.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/lpc32xx_mlc.c
b/drivers/mtd/nand/lpc32xx_mlc.c
index f4dd2a887ea5da15b0b64c743f9ecb2603035b97..327d96c035050ce178711f03ee8ff4dd527a1fb3 100644
(file)
--- a/
drivers/mtd/nand/lpc32xx_mlc.c
+++ b/
drivers/mtd/nand/lpc32xx_mlc.c
@@
-905,7
+905,7
@@
static struct platform_driver lpc32xx_nand_driver = {
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(lpc32xx_nand_match)
,
+ .of_match_table =
lpc32xx_nand_match
,
},
};