* [PATCH 1/1] clk: si570: Remove redundant of_match_ptr helper
@ 2013-12-21 10:15 Sachin Kamat
2013-12-23 6:47 ` Mike Turquette
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2013-12-21 10:15 UTC (permalink / raw)
To: linux-arm-kernel
'clk_si570_of_match' is always compiled in. Hence the
helper macro is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/clk/clk-si570.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 1/1] clk: si570: Remove redundant of_match_ptr helper
2013-12-21 10:15 [PATCH 1/1] clk: si570: Remove redundant of_match_ptr helper Sachin Kamat
@ 2013-12-23 6:47 ` Mike Turquette
0 siblings, 0 replies; 2+ messages in thread
From: Mike Turquette @ 2013-12-23 6:47 UTC (permalink / raw)
To: linux-arm-kernel
Quoting Sachin Kamat (2013-12-21 02:15:27)
> 'clk_si570_of_match' is always compiled in. Hence the
> helper macro is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Pull into clk-next.
Regards,
Mike
> ---
> drivers/clk/clk-si570.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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,
> --
> 1.7.9.5
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-23 6:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21 10:15 [PATCH 1/1] clk: si570: Remove redundant of_match_ptr helper Sachin Kamat
2013-12-23 6:47 ` Mike Turquette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).