diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-01-23 18:55:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 19:37:00 -0500 |
commit | 5516f0971793a0f7d0d54bf0220b6b2e13a05d7e (patch) | |
tree | 063f90dc787fd32582c46edf7ae13857522da009 /drivers/rtc | |
parent | 24b34472e2e6e3815f36e39d6996e3b39ebb2a5e (diff) |
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')
-rw-r--r-- | drivers/rtc/rtc-ds1742.c | 2 |
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 = { | |||
228 | .driver = { | 228 | .driver = { |
229 | .name = "rtc-ds1742", | 229 | .name = "rtc-ds1742", |
230 | .owner = THIS_MODULE, | 230 | .owner = THIS_MODULE, |
231 | .of_match_table = of_match_ptr(ds1742_rtc_of_match), | 231 | .of_match_table = ds1742_rtc_of_match, |
232 | }, | 232 | }, |
233 | }; | 233 | }; |
234 | 234 | ||