mtd: nand: lpc32xx_slc: 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>
This commit is contained in:
Sachin Kamat 2013-09-30 15:10:23 +05:30 committed by Brian Norris
parent 6dcd592022
commit fea7b5697b

View File

@ -1015,7 +1015,7 @@ static struct platform_driver lpc32xx_nand_driver = {
.driver = {
.name = LPC32XX_MODNAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(lpc32xx_nand_match),
.of_match_table = lpc32xx_nand_match,
},
};