Commit 156e3526 authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Torvalds

drivers/rtc/rtc-hym8563.c: remove redundant of_match_ptr() helper

'hym8563_dt_idtable' 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 avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5516f097
...@@ -593,7 +593,7 @@ static struct i2c_driver hym8563_driver = { ...@@ -593,7 +593,7 @@ static struct i2c_driver hym8563_driver = {
.name = "rtc-hym8563", .name = "rtc-hym8563",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &hym8563_pm_ops, .pm = &hym8563_pm_ops,
.of_match_table = of_match_ptr(hym8563_dt_idtable), .of_match_table = hym8563_dt_idtable,
}, },
.probe = hym8563_probe, .probe = hym8563_probe,
.id_table = hym8563_id, .id_table = hym8563_id,
......
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