Skip to content

Commit 5576bc7

Browse files
Sachin Kamatcomputersforpeace
authored andcommitted
mtd: nand: pxa3xx_nand: 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 fea7b56 commit 5576bc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/nand/pxa3xx_nand.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ static int pxa3xx_nand_resume(struct platform_device *pdev)
14121412
static struct platform_driver pxa3xx_nand_driver = {
14131413
.driver = {
14141414
.name = "pxa3xx-nand",
1415-
.of_match_table = of_match_ptr(pxa3xx_nand_dt_ids),
1415+
.of_match_table = pxa3xx_nand_dt_ids,
14161416
},
14171417
.probe = pxa3xx_nand_probe,
14181418
.remove = pxa3xx_nand_remove,

0 commit comments

Comments
 (0)