Skip to content

Commit ae30512

Browse files
ruanjinjie-engbebarino
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 <ruanjinjie@huawei.com> Link: https://lore.kernel.org/r/20230808125341.4073115-1-ruanjinjie@huawei.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent a995c50 commit ae30512

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)