From: Sachin Kamat Date: Thu, 23 Jan 2014 23:55:17 +0000 (-0800) Subject: drivers/rtc/rtc-hym8563.c: remove redundant of_match_ptr() helper X-Git-Tag: v3.14-rc1~108^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=156e3526e8509140723c3af3b6b5468a854cc2fa;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c index b56e3d3..6118000 100644 --- a/drivers/rtc/rtc-hym8563.c +++ b/drivers/rtc/rtc-hym8563.c @@ -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,