projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d149632
)
drivers/rtc/rtc-snvs.c: remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 12 Nov 2013 23:10:57 +0000
(15:10 -0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-snvs.c
b/drivers/rtc/rtc-snvs.c
index 316a342115b28440b804c08031ccb1143f17e260..fa384fe28988f6f27078f80a0a67b390ccf8687b 100644
(file)
--- a/
drivers/rtc/rtc-snvs.c
+++ b/
drivers/rtc/rtc-snvs.c
@@
-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,
};