diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-30 05:40:22 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-07 02:32:45 -0500 |
commit | 6dcd592022678e44c6fc705ca6f287b4e7ee338f (patch) | |
tree | b06ba5ace1f01de3f479c3c2c24f8a9968096f83 /drivers/mtd/nand | |
parent | 60d0dc7fa1615bc8b021fef253f3a17dd4f90e70 (diff) |
mtd: nand: lpc32xx_mlc: 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>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/lpc32xx_mlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/lpc32xx_mlc.c b/drivers/mtd/nand/lpc32xx_mlc.c index f4dd2a887ea5..327d96c03505 100644 --- 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 = { | |||
905 | .driver = { | 905 | .driver = { |
906 | .name = DRV_NAME, | 906 | .name = DRV_NAME, |
907 | .owner = THIS_MODULE, | 907 | .owner = THIS_MODULE, |
908 | .of_match_table = of_match_ptr(lpc32xx_nand_match), | 908 | .of_match_table = lpc32xx_nand_match, |
909 | }, | 909 | }, |
910 | }; | 910 | }; |
911 | 911 | ||