Browse Source

mtd: denali_dt: Remove redundant use of of_match_ptr

Since this driver is dt only and denali_nand_dt_ids is always
compiled in, use of of_match_ptr() macro is not necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Sachin Kamat 12 years ago
parent
commit
ef54f87366
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/nand/denali_dt.c

+ 1 - 1
drivers/mtd/nand/denali_dt.c

@@ -146,7 +146,7 @@ static struct platform_driver denali_dt_driver = {
 	.driver		= {
 		.name	= "denali-nand-dt",
 		.owner	= THIS_MODULE,
-		.of_match_table	= of_match_ptr(denali_nand_dt_ids),
+		.of_match_table	= denali_nand_dt_ids,
 	},
 };