projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e1ee9b
)
clk: si570: Remove redundant of_match_ptr helper
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 10:15:27 +0000
(15:45 +0530)
committer
Mike Turquette
<mturquette@linaro.org>
Mon, 23 Dec 2013 06:46:52 +0000
(22:46 -0800)
'clk_si570_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: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-si570.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-si570.c
b/drivers/clk/clk-si570.c
index
5d0ac9f
..
4bbbe32
100644
(file)
--- a/
drivers/clk/clk-si570.c
+++ b/
drivers/clk/clk-si570.c
@@
-517,7
+517,7
@@
MODULE_DEVICE_TABLE(of, clk_si570_of_match);
static struct i2c_driver si570_driver = {
.driver = {
.name = "si570",
- .of_match_table =
of_match_ptr(clk_si570_of_match)
,
+ .of_match_table =
clk_si570_of_match
,
},
.probe = si570_probe,
.remove = si570_remove,