From: Sachin Kamat Date: Mon, 30 Sep 2013 09:40:24 +0000 (+0530) Subject: mtd: nand: pxa3xx_nand: Remove redundant of_match_ptr X-Git-Tag: v3.13-rc1~98^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5576bc7bef2919dd2b185bffb768bf9c0da76788;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index c28d4e2..e08c3c0 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -1412,7 +1412,7 @@ static int pxa3xx_nand_resume(struct platform_device *pdev) static struct platform_driver pxa3xx_nand_driver = { .driver = { .name = "pxa3xx-nand", - .of_match_table = of_match_ptr(pxa3xx_nand_dt_ids), + .of_match_table = pxa3xx_nand_dt_ids, }, .probe = pxa3xx_nand_probe, .remove = pxa3xx_nand_remove,