summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-12-21 15:50:16 +0530
committerLee Jones <lee.jones@linaro.org>2014-01-21 08:28:56 +0000
commitae679c12e83bda92d8f639357f35a3f50f45c3a6 (patch)
treedf6bc0a8ecd9c8d5780c3938c6b6e8d1f957d86e /drivers
parentadc01fbd90079fe985213231c16f1ba0d3b6fdeb (diff)
mfd: max14577: Remove redundant of_match_ptr helper
'max14577_dt_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/max14577.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index a5e1c370c60..ac514fb2b87 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -221,7 +221,7 @@ static struct i2c_driver max14577_i2c_driver = {
.name = "max14577",
.owner = THIS_MODULE,
.pm = &max14577_pm,
- .of_match_table = of_match_ptr(max14577_dt_match),
+ .of_match_table = max14577_dt_match,
},
.probe = max14577_i2c_probe,
.remove = max14577_i2c_remove,