drivers/rtc/rtc-stmp3xxx.c: remove redundant of_match_ptr
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-stmp3xxx.c
index 26019531db15a2f481dc87da6e6c76e085e1a06c..ea96492357b0339c0b01ad18a4505f9418ed6bd5 100644 (file)
@@ -343,7 +343,7 @@ static struct platform_driver stmp3xxx_rtcdrv = {
                .name   = "stmp3xxx-rtc",
                .owner  = THIS_MODULE,
                .pm     = &stmp3xxx_rtc_pm_ops,
-               .of_match_table = of_match_ptr(rtc_dt_ids),
+               .of_match_table = rtc_dt_ids,
        },
 };