projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a995c50
)
clk: cdce925: Remove redundant of_match_ptr()
author
Ruan Jinjie
<ruanjinjie@huawei.com>
Tue, 8 Aug 2023 12:53:41 +0000
(20:53 +0800)
committer
Stephen Boyd
<sboyd@kernel.org>
Tue, 22 Aug 2023 21:16:53 +0000
(14:16 -0700)
The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link:
https://lore.kernel.org/r/20230808125341.4073115-1-ruanjinjie@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-cdce925.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-cdce925.c
b/drivers/clk/clk-cdce925.c
index 96ac90364847ebbae550d2dd2519c27d55ce187d..cdee4958f26d070cbcbaf43cb94901ceecb87295 100644
(file)
--- 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,