projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f2ff14
)
mtd: denali_dt: Remove redundant use of of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 18 Mar 2013 09:41:14 +0000
(15:11 +0530)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 5 Apr 2013 13:04:34 +0000
(14:04 +0100)
Since this driver is dt only and denali_nand_dt_ids is always
compiled in, use of of_match_ptr() macro is not necessary.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/denali_dt.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/denali_dt.c
b/drivers/mtd/nand/denali_dt.c
index
067a505
..
9253024
100644
(file)
--- a/
drivers/mtd/nand/denali_dt.c
+++ b/
drivers/mtd/nand/denali_dt.c
@@
-146,7
+146,7
@@
static struct platform_driver denali_dt_driver = {
.driver = {
.name = "denali-nand-dt",
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(denali_nand_dt_ids)
,
+ .of_match_table =
denali_nand_dt_ids
,
},
};