diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-03-18 05:41:14 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-04-05 09:04:34 -0400 |
commit | ef54f87366fc207e5db006a720deb5cda4e9778f (patch) | |
tree | 586129847cd20550c76bda272e9f4f5b504a7de2 /drivers/mtd | |
parent | 2f2ff14c2760cd1db5dd05afddae9a5d9709047a (diff) |
mtd: denali_dt: Remove redundant use of of_match_ptr
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/denali_dt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index 067a505aa624..92530244e2cb 100644 --- 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 = { | |||
146 | .driver = { | 146 | .driver = { |
147 | .name = "denali-nand-dt", | 147 | .name = "denali-nand-dt", |
148 | .owner = THIS_MODULE, | 148 | .owner = THIS_MODULE, |
149 | .of_match_table = of_match_ptr(denali_nand_dt_ids), | 149 | .of_match_table = denali_nand_dt_ids, |
150 | }, | 150 | }, |
151 | }; | 151 | }; |
152 | 152 | ||