summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1742.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-24 00:55:16 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 01:37:00 +0100
commit5516f0971793a0f7d0d54bf0220b6b2e13a05d7e (patch)
tree063f90dc787fd32582c46edf7ae13857522da009 /drivers/rtc/rtc-ds1742.c
parentdrivers/rtc/rtc-cmos.c: propagate hpet_register_irq_handler() failure (diff)
downloadlinux-5516f0971793a0f7d0d54bf0220b6b2e13a05d7e.tar.xz
linux-5516f0971793a0f7d0d54bf0220b6b2e13a05d7e.zip
drivers/rtc/rtc-ds1742.c: remove redundant of_match_ptr() helper
'ds1742_rtc_of_match' 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>
Diffstat (limited to 'drivers/rtc/rtc-ds1742.c')
-rw-r--r--drivers/rtc/rtc-ds1742.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c
index d7f74f5e9090..5a1f3b2a8f1e 100644
--- a/drivers/rtc/rtc-ds1742.c
+++ b/drivers/rtc/rtc-ds1742.c
@@ -228,7 +228,7 @@ static struct platform_driver ds1742_rtc_driver = {
.driver = {
.name = "rtc-ds1742",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(ds1742_rtc_of_match),
+ .of_match_table = ds1742_rtc_of_match,
},
};