diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-30 05:40:24 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-07 02:32:46 -0500 |
commit | 5576bc7bef2919dd2b185bffb768bf9c0da76788 (patch) | |
tree | 668de096bb07005ea5c0d3d37c9c046cc62dc002 | |
parent | fea7b5697ba74102f905ecf318a34f2429071a0a (diff) |
mtd: nand: pxa3xx_nand: Remove redundant of_match_ptr
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>
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index c28d4e29af1a..e08c3c058904 100644 --- 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) | |||
1412 | static struct platform_driver pxa3xx_nand_driver = { | 1412 | static struct platform_driver pxa3xx_nand_driver = { |
1413 | .driver = { | 1413 | .driver = { |
1414 | .name = "pxa3xx-nand", | 1414 | .name = "pxa3xx-nand", |
1415 | .of_match_table = of_match_ptr(pxa3xx_nand_dt_ids), | 1415 | .of_match_table = pxa3xx_nand_dt_ids, |
1416 | }, | 1416 | }, |
1417 | .probe = pxa3xx_nand_probe, | 1417 | .probe = pxa3xx_nand_probe, |
1418 | .remove = pxa3xx_nand_remove, | 1418 | .remove = pxa3xx_nand_remove, |