drivers/rtc/rtc-hym8563.c: remove redundant of_match_ptr() helper
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 23 Jan 2014 23:55:17 +0000 (15:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:37:00 +0000 (16:37 -0800)
'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>
drivers/rtc/rtc-hym8563.c

index b56e3d3fbfd3e04707e5fcb1067efe76378b6a93..6118000b787ac76366cd04089aae860d9c0e527f 100644 (file)
@@ -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,