* [PATCH -next] clk: cdce925: Remove redundant of_match_ptr()
@ 2023-08-08 12:53 Ruan Jinjie
2023-08-22 21:17 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Ruan Jinjie @ 2023-08-08 12:53 UTC (permalink / raw)
To: linux-clk, Michael Turquette, Stephen Boyd; +Cc: ruanjinjie
The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
---
drivers/clk/clk-cdce925.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk-cdce925.c b/drivers/clk/clk-cdce925.c
index 96ac90364847..cdee4958f26d 100644
--- a/drivers/clk/clk-cdce925.c
+++ b/drivers/clk/clk-cdce925.c
@@ -834,7 +834,7 @@ MODULE_DEVICE_TABLE(of, clk_cdce925_of_match);
static struct i2c_driver cdce925_driver = {
.driver = {
.name = "cdce925",
- .of_match_table = of_match_ptr(clk_cdce925_of_match),
+ .of_match_table = clk_cdce925_of_match,
},
.probe = cdce925_probe,
.id_table = cdce925_id,
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] clk: cdce925: Remove redundant of_match_ptr()
2023-08-08 12:53 [PATCH -next] clk: cdce925: Remove redundant of_match_ptr() Ruan Jinjie
@ 2023-08-22 21:17 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2023-08-22 21:17 UTC (permalink / raw)
To: Michael Turquette, Ruan Jinjie, linux-clk; +Cc: ruanjinjie
Quoting Ruan Jinjie (2023-08-08 05:53:41)
> The driver depends on CONFIG_OF, it is not necessary to use
> of_match_ptr() here.
>
> Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-22 21:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 12:53 [PATCH -next] clk: cdce925: Remove redundant of_match_ptr() Ruan Jinjie
2023-08-22 21:17 ` Stephen Boyd
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).