mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 08:01:59 +00:00
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: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5516f09717
commit
156e3526e8
@ -593,7 +593,7 @@ static struct i2c_driver hym8563_driver = {
|
||||
.name = "rtc-hym8563",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &hym8563_pm_ops,
|
||||
.of_match_table = of_match_ptr(hym8563_dt_idtable),
|
||||
.of_match_table = hym8563_dt_idtable,
|
||||
},
|
||||
.probe = hym8563_probe,
|
||||
.id_table = hym8563_id,
|
||||
|
Loading…
Reference in New Issue
Block a user