From: Sachin Kamat Date: Mon, 30 Sep 2013 09:40:22 +0000 (+0530) Subject: mtd: nand: lpc32xx_mlc: Remove redundant of_match_ptr X-Git-Tag: v3.13-rc1~98^2~59 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6dcd592022678e44c6fc705ca6f287b4e7ee338f;p=karo-tx-linux.git 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: Sachin Kamat Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/lpc32xx_mlc.c b/drivers/mtd/nand/lpc32xx_mlc.c index f4dd2a887ea5..327d96c03505 100644 --- a/drivers/mtd/nand/lpc32xx_mlc.c +++ b/drivers/mtd/nand/lpc32xx_mlc.c @@ -905,7 +905,7 @@ static struct platform_driver lpc32xx_nand_driver = { .driver = { .name = DRV_NAME, .owner = THIS_MODULE, - .of_match_table = of_match_ptr(lpc32xx_nand_match), + .of_match_table = lpc32xx_nand_match, }, };