summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-si570.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-12-21 11:15:27 +0100
committerMike Turquette <mturquette@linaro.org>2013-12-23 07:46:52 +0100
commite8ab2f11bb8fa73280ce7d0fca3c22be456437df (patch)
tree6cce95a8e7d4121736bf75c25d06320a71ade8f1 /drivers/clk/clk-si570.c
parentMerge tag 'renesas-clock-for-v3.14' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadlinux-e8ab2f11bb8fa73280ce7d0fca3c22be456437df.tar.xz
linux-e8ab2f11bb8fa73280ce7d0fca3c22be456437df.zip
clk: si570: Remove redundant of_match_ptr helper
'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>
Diffstat (limited to 'drivers/clk/clk-si570.c')
-rw-r--r--drivers/clk/clk-si570.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-si570.c b/drivers/clk/clk-si570.c
index 5d0ac9f8e1ee..4bbbe32585ec 100644
--- 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,