Browse Source

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>
Sachin Kamat 12 years ago
parent
commit
6dcd592022
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/nand/lpc32xx_mlc.c

+ 1 - 1
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,
 	},
 };