Browse Source

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>
Sachin Kamat 11 years ago
parent
commit
e8ab2f11bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/clk/clk-si570.c

+ 1 - 1
drivers/clk/clk-si570.c

@@ -517,7 +517,7 @@ MODULE_DEVICE_TABLE(of, clk_si570_of_match);
 static struct i2c_driver si570_driver = {
 static struct i2c_driver si570_driver = {
 	.driver = {
 	.driver = {
 		.name = "si570",
 		.name = "si570",
-		.of_match_table = of_match_ptr(clk_si570_of_match),
+		.of_match_table = clk_si570_of_match,
 	},
 	},
 	.probe		= si570_probe,
 	.probe		= si570_probe,
 	.remove		= si570_remove,
 	.remove		= si570_remove,