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:
7bb5be9
)
watchdog: sirf: Remove redundant of_match_ptr helper
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 08:31:13 +0000
(14:01 +0530)
committer
Wim Van Sebroeck
<wim@iguana.be>
Tue, 28 Jan 2014 20:26:31 +0000
(21:26 +0100)
'sirfsoc_wdt_of_match' is always compiled in. Hence the
helper macro is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sirfsoc_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/sirfsoc_wdt.c
b/drivers/watchdog/sirfsoc_wdt.c
index ced3edc95957b471419f069e838084428a67f26b..702d07870808311b36d859570cbf03c096026faa 100644
(file)
--- a/
drivers/watchdog/sirfsoc_wdt.c
+++ b/
drivers/watchdog/sirfsoc_wdt.c
@@
-212,7
+212,7
@@
static struct platform_driver sirfsoc_wdt_driver = {
.name = "sirfsoc-wdt",
.owner = THIS_MODULE,
.pm = &sirfsoc_wdt_pm_ops,
- .of_match_table =
of_match_ptr(sirfsoc_wdt_of_match)
,
+ .of_match_table =
sirfsoc_wdt_of_match
,
},
.probe = sirfsoc_wdt_probe,
.remove = sirfsoc_wdt_remove,