Browse Source

mfd: max8925: 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: Lee Jones <lee.jones@linaro.org>
Sachin Kamat 12 years ago
parent
commit
52c2c6ebfe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mfd/max8925-i2c.c

+ 1 - 1
drivers/mfd/max8925-i2c.c

@@ -238,7 +238,7 @@ static struct i2c_driver max8925_driver = {
 		.name	= "max8925",
 		.name	= "max8925",
 		.owner	= THIS_MODULE,
 		.owner	= THIS_MODULE,
 		.pm     = &max8925_pm_ops,
 		.pm     = &max8925_pm_ops,
-		.of_match_table = of_match_ptr(max8925_dt_ids),
+		.of_match_table = max8925_dt_ids,
 	},
 	},
 	.probe		= max8925_probe,
 	.probe		= max8925_probe,
 	.remove		= max8925_remove,
 	.remove		= max8925_remove,