]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drivers/rtc/rtc-snvs.c: remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 12 Nov 2013 23:10:57 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:30 +0000 (12:09 +0900)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() 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-snvs.c

index 316a342115b28440b804c08031ccb1143f17e260..fa384fe28988f6f27078f80a0a67b390ccf8687b 100644 (file)
@@ -329,7 +329,7 @@ static struct platform_driver snvs_rtc_driver = {
                .name   = "snvs_rtc",
                .owner  = THIS_MODULE,
                .pm     = &snvs_rtc_pm_ops,
-               .of_match_table = of_match_ptr(snvs_dt_ids),
+               .of_match_table = snvs_dt_ids,
        },
        .probe          = snvs_rtc_probe,
 };