Skip to content

Commit ae30512

Browse files
Ruan Jinjiebebarino
authored andcommitted
clk: cdce925: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use of_match_ptr() here. Signed-off-by: Ruan Jinjie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent a995c50 commit ae30512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/clk-cdce925.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ MODULE_DEVICE_TABLE(of, clk_cdce925_of_match);
834834
static struct i2c_driver cdce925_driver = {
835835
.driver = {
836836
.name = "cdce925",
837-
.of_match_table = of_match_ptr(clk_cdce925_of_match),
837+
.of_match_table = clk_cdce925_of_match,
838838
},
839839
.probe = cdce925_probe,
840840
.id_table = cdce925_id,

0 commit comments

Comments
 (0)