提交 6dcd5920 编写于 作者: S Sachin Kamat 提交者: Brian Norris

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: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
上级 60d0dc7f
...@@ -905,7 +905,7 @@ static struct platform_driver lpc32xx_nand_driver = { ...@@ -905,7 +905,7 @@ static struct platform_driver lpc32xx_nand_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(lpc32xx_nand_match), .of_match_table = lpc32xx_nand_match,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册