projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b3447
)
drivers/rtc/rtc-ds1742.c: remove redundant of_match_ptr() helper
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 23 Jan 2014 23:55:16 +0000
(15:55 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:37:00 +0000
(16:37 -0800)
'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>
drivers/rtc/rtc-ds1742.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-ds1742.c
b/drivers/rtc/rtc-ds1742.c
index d7f74f5e9090f404e2e21f968206d813ec6bff3b..5a1f3b2a8f1e99591095d6663d285c21dda7df2d 100644
(file)
--- 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
,
},
};