Commit ae679c12 authored by Sachin Kamat's avatar Sachin Kamat Committed by Lee Jones

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent adc01fbd
...@@ -221,7 +221,7 @@ static struct i2c_driver max14577_i2c_driver = { ...@@ -221,7 +221,7 @@ static struct i2c_driver max14577_i2c_driver = {
.name = "max14577", .name = "max14577",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &max14577_pm, .pm = &max14577_pm,
.of_match_table = of_match_ptr(max14577_dt_match), .of_match_table = max14577_dt_match,
}, },
.probe = max14577_i2c_probe, .probe = max14577_i2c_probe,
.remove = max14577_i2c_remove, .remove = max14577_i2c_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment