mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
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>
This commit is contained in:
parent
2212e680db
commit
52c2c6ebfe
@ -238,7 +238,7 @@ static struct i2c_driver max8925_driver = {
|
||||
.name = "max8925",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &max8925_pm_ops,
|
||||
.of_match_table = of_match_ptr(max8925_dt_ids),
|
||||
.of_match_table = max8925_dt_ids,
|
||||
},
|
||||
.probe = max8925_probe,
|
||||
.remove = max8925_remove,
|
||||
|
Loading…
x
Reference in New Issue
Block a user