Skip to content

Commit fea7b56

Browse files
Sachin Kamatcomputersforpeace
authored andcommitted
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>
1 parent 6dcd592 commit fea7b56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/nand/lpc32xx_slc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ static struct platform_driver lpc32xx_nand_driver = {
10151015
.driver = {
10161016
.name = LPC32XX_MODNAME,
10171017
.owner = THIS_MODULE,
1018-
.of_match_table = of_match_ptr(lpc32xx_nand_match),
1018+
.of_match_table = lpc32xx_nand_match,
10191019
},
10201020
};
10211021

0 commit comments

Comments
 (0)